Fixing some docs issues and adding some lines in docker-compose.yml (#33)

* Update README.md

* Update README.md

* Update DEPLOYMENT.md

* Update docker-compose.yml
This commit is contained in:
PierreC 2022-07-19 12:24:42 +02:00 committed by GitHub
parent c7d1bc3191
commit 2dce6eb2e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View file

@ -115,7 +115,7 @@ After the containers are up, visit [http://localhost:7000](http://localhost:7000
It takes a while to build the image so please be patient :)
See [DEPLOYMENT.md](./docs/DEPLOYMET.md) detailed alternate deployment
See [DEPLOYMENT.md](./docs/DEPLOYMENT.md) detailed alternate deployment
methods.
## Development:
@ -124,7 +124,7 @@ See [HACKING.md](./docs/HACKING.md)
## Deployment:
See [DEPLOYMENT.md](./docs/DEPLOYMET.md)
See [DEPLOYMENT.md](./docs/DEPLOYMENT.md)
## Configuration:

View file

@ -9,6 +9,10 @@ services:
DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder
MCAPTCHA_REDIS_URL: redis://mcaptcha-redis/
RUST_LOG: debug
PORT: 7000
depends_on:
mcaptcha-postgres
mcaptcha-redis
mcaptcha_postgres:
image: postgres:13.2

View file

@ -34,14 +34,14 @@ docker run -p <host-machine-port>:<port-in-configuration-file> \
If you don't have a Postgres instance running, you can either install
one using a package manager or launch one with docker. A [docker-compose
configuration]('../docker-compose.yml) is available that will launch both
configuration](../docker-compose.yml) is available that will launch both
a database instance mcaptcha instance.
## With docker-compose
1. Follow steps above to build docker image.
2. Set database password [docker-compose configuration]('../docker-compose.yml).
2. Set database password [docker-compose configuration](../docker-compose.yml).
3. Launch network: