mCaptcha/docker-compose.yml
2021-06-02 18:17:25 +05:30

21 lines
458 B
YAML

version: '3.9'
services:
mcaptcha:
build: .
ports:
- 7000:7000
environment:
DATABASE_URL: postgres://postgres:<enter-password>@postgres:5432/postgres # set password at placeholder
RUST_LOG: debug
postgres:
image: postgres:13.2
volumes:
- mcaptcha-data:/var/lib/postgresql/
environment:
POSTGRES_PASSWORD: # enter password
PGDATA: /var/lib/postgresql/data/mcaptcha/
volumes:
mcaptcha-data: