deployment instructions

This commit is contained in:
realaravinth
2021-05-30 19:53:53 +05:30
parent 5ade3af325
commit f4deb20fbc
4 changed files with 150 additions and 23 deletions

View File

@@ -6,18 +6,16 @@ services:
ports:
- 7000:7000
environment:
DATABASE_URL: postgres://postgres:password@postgres:5432/postgres
DATABASE_URL: postgres://postgres:<enter-password>@postgres:5432/postgres # set password at placeholder
RUST_LOG: debug
postgres:
image: postgres:13.2
#ports: 5432:5432
volumes:
- mcaptcha-guard-data:/var/lib/postgresql/
environment:
POSTGRES_PASSWORD: password
POSTGRES_PASSWORD: # enter password
PGDATA: /var/lib/postgresql/data/guard/
volumes:
mcaptcha-guard-data: