fix: fixes broken docker-compose.yml (#38)

This commit is contained in:
Simone Margaritelli 2022-08-05 14:00:40 +02:00
parent 3d9056e968
commit a66d75c3c3

View file

@ -7,12 +7,12 @@ services:
- 7000:7000 - 7000:7000
environment: environment:
DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder
MCAPTCHA_REDIS_URL: redis://mcaptcha-redis/ MCAPTCHA_REDIS_URL: redis://mcaptcha_redis/
RUST_LOG: debug RUST_LOG: debug
PORT: 7000 PORT: 7000
depends_on: depends_on:
- mcaptcha-postgres - mcaptcha_postgres
- mcaptcha-redis - mcaptcha_redis
mcaptcha_postgres: mcaptcha_postgres:
image: postgres:13.2 image: postgres:13.2
@ -22,7 +22,7 @@ services:
POSTGRES_PASSWORD: password # change password POSTGRES_PASSWORD: password # change password
PGDATA: /var/lib/postgresql/data/mcaptcha/ PGDATA: /var/lib/postgresql/data/mcaptcha/
mcaptcha-redis: mcaptcha_redis:
image: mcaptcha/cache:latest image: mcaptcha/cache:latest
volumes: volumes: