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
environment:
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
PORT: 7000
depends_on:
- mcaptcha-postgres
- mcaptcha-redis
- mcaptcha_postgres
- mcaptcha_redis
mcaptcha_postgres:
image: postgres:13.2
@ -22,7 +22,7 @@ services:
POSTGRES_PASSWORD: password # change password
PGDATA: /var/lib/postgresql/data/mcaptcha/
mcaptcha-redis:
mcaptcha_redis:
image: mcaptcha/cache:latest
volumes: