Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
Docs: Update main readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroamador committed Feb 24, 2020
1 parent aad9807 commit 3ef9233
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions README.md
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

0 comments on commit 3ef9233

Please sign in to comment.