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:
parent
c7d1bc3191
commit
2dce6eb2e8
3 changed files with 8 additions and 4 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue