2022-07-18 17:26:21 +00:00
|
|
|
version: "3.9"
|
2021-05-12 13:43:09 +00:00
|
|
|
|
|
|
|
services:
|
2021-06-02 12:47:25 +00:00
|
|
|
mcaptcha:
|
2022-05-10 17:02:52 +00:00
|
|
|
image: mcaptcha/mcaptcha:latest
|
2021-05-12 13:43:09 +00:00
|
|
|
ports:
|
|
|
|
- 7000:7000
|
|
|
|
environment:
|
2022-07-18 17:26:21 +00:00
|
|
|
DATABASE_URL: postgres://postgres:password@mcaptcha_postgres:5432/postgres # set password at placeholder
|
2021-06-12 06:54:05 +00:00
|
|
|
MCAPTCHA_REDIS_URL: redis://mcaptcha-redis/
|
2021-05-12 13:43:09 +00:00
|
|
|
RUST_LOG: debug
|
|
|
|
|
2022-07-18 17:26:21 +00:00
|
|
|
mcaptcha_postgres:
|
2021-05-12 13:43:09 +00:00
|
|
|
image: postgres:13.2
|
|
|
|
volumes:
|
2021-06-02 12:47:25 +00:00
|
|
|
- mcaptcha-data:/var/lib/postgresql/
|
2021-05-12 13:43:09 +00:00
|
|
|
environment:
|
2021-06-12 06:54:05 +00:00
|
|
|
POSTGRES_PASSWORD: password # change password
|
2021-06-02 12:47:25 +00:00
|
|
|
PGDATA: /var/lib/postgresql/data/mcaptcha/
|
2021-05-12 13:43:09 +00:00
|
|
|
|
2021-06-12 06:54:05 +00:00
|
|
|
mcaptcha-redis:
|
|
|
|
image: mcaptcha/cache:latest
|
|
|
|
|
2021-05-12 13:43:09 +00:00
|
|
|
volumes:
|
2021-06-02 12:47:25 +00:00
|
|
|
mcaptcha-data:
|