mCaptcha/docker-compose.yml

22 lines
458 B
YAML
Raw Normal View History

2021-05-12 13:43:09 +00:00
version: '3.9'
services:
mcaptcha:
2021-05-12 13:43:09 +00:00
build: .
ports:
- 7000:7000
environment:
2021-05-30 14:23:53 +00:00
DATABASE_URL: postgres://postgres:<enter-password>@postgres:5432/postgres # set password at placeholder
2021-05-12 13:43:09 +00:00
RUST_LOG: debug
postgres:
image: postgres:13.2
volumes:
- mcaptcha-data:/var/lib/postgresql/
2021-05-12 13:43:09 +00:00
environment:
2021-05-30 14:23:53 +00:00
POSTGRES_PASSWORD: # enter password
PGDATA: /var/lib/postgresql/data/mcaptcha/
2021-05-12 13:43:09 +00:00
volumes:
mcaptcha-data: