2021-10-14 16:26:23 +05:30
|
|
|
version: '3.9'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mcaptchas-survey:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- 7000:7000
|
|
|
|
environment:
|
|
|
|
DATABASE_URL: postgres://postgres:password@postgres:5432/postgres # set password at placeholder
|
|
|
|
RUST_LOG: debug
|
|
|
|
|
|
|
|
postgres:
|
2024-06-08 01:25:09 +05:30
|
|
|
image: postgres:13.15
|
2021-10-14 16:26:23 +05:30
|
|
|
volumes:
|
|
|
|
- mcaptcha-survey-data:/var/lib/postgresql/
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: password # change password
|
|
|
|
PGDATA: /var/lib/postgresql/data/mcaptcha/
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
mcaptcha-survey-data:
|