mCaptcha/docker-compose.yml

22 lines
464 B
YAML
Raw Normal View History

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