diff --git a/.gitignore b/.gitignore index f0c00fb..90043d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ config.ini !install/config.ini +docker-compose.yml +compose.yml *.pot *.mo dist diff --git a/README.md b/README.md index 38ac5fe..554618d 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,21 @@ You can also build the program using docker: docker build --tag pooler . ``` -And for deployment you can use docker-compose, just make sure you read the compose file -and place the configuration file and the pools to the right place: +And for deployment you can use docker-compose, here is an example configuration: +```yaml +version: "3" + +services: + pooler: + build: + context: ./ + ports: + - "5858:5858/tcp" + volumes: + - "./config.ini:/etc/pooler/config.ini" +``` +Just make sure you read the compose file and place the configuration file and the pools +to the right place: ```bash docker-compose up -d ``` diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 7a68fe9..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: "3" - -services: - pooler: - build: - context: ./ - ports: - - "5858:5858/udp" - volumes: - - "./config.ini:/etc/pooler/config.ini"