This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
forked from teecke/gp-haproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aad9807
commit 3ef9233
Showing
1 changed file
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# gp-haproxy | ||
Generic Platform - HAProxy Service | ||
# Generic Platform - HAProxy Service | ||
|
||
## Overview | ||
|
||
Docker image and docker-compose sample configuration to bring up a HAProxy Service to the Teecke [Docker Generic Platform (GP)](https://github.com/teecke/docker-generic-platform). | ||
|
||
## Configuration | ||
|
||
The service is formed by one container: | ||
|
||
- **statics**: based on [haproxy:2.1.3](https://hub.docker.com/_/haproxy?tab=tags&page=1&name=2.1.3-alpine) alpine docker image. | ||
|
||
## Operation | ||
|
||
1. Use the `docker-compose.yml.sample` file as your docker-compose configuration file. | ||
|
||
2. Install assets with `devcontrol assets-install`. | ||
|
||
3. Start the service with `docker-compose up -d`. | ||
|
||
4. Open the url <http://localhost:10080> or <http://localhost:10443> in a browser to access to the HAProxy service. | ||
|
||
5. Manage backups of your files: | ||
|
||
1. Make a backup executing `docker-compose exec haproxy backup`. | ||
2. Find the current backup within the `/var/backups/gp/haproxy/` of the container. | ||
3. Extract the current backup executing `docker cp $(docker-compose ps -q haproxy):/var/backups/gp gp`. | ||
|
||
6. Stop the service with `docker-compose stop`. | ||
|
||
You can use this docker piece with the [Docker Generic Platform](https://github.com/teecke/docker-generic-platform) project. | ||
|
||
## Known issues | ||
|
||
None known |