mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
Merge pull request #39 from evilsocket/master
fix: fixes broken docker-compose.yml (#38)
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user