update compose file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-02-01 23:55:13 +01:00
parent 510cbcab9a
commit 92d47323c8
2 changed files with 7 additions and 3 deletions

View File

@ -34,14 +34,16 @@ services:
- postgres
ports:
- "80:8080"
volumes:
- data:/app/data
environment:
ITWARDENRS_WAIT_FOR_HOST: bitwardenrs_postgres
BITWARDENRS_WAIT_FOR_HOST: bitwardenrs_postgres
BITWARDENRS_WAIT_FOR_PORT: 5432
BITWARDENRS_DATABASE_URL: postgresql://user:pass@bitwardenrs_postgres:5432/bitwarden
BITWARDENRS_ADMIN_TOKEN: test
volumes:
bitwardenrs_data:
data:
driver: local
```

View File

@ -17,6 +17,8 @@ services:
- postgres
ports:
- "80:8080"
volumes:
- data:/app/data
environment:
BITWARDENRS_WAIT_FOR_HOST: bitwardenrs_postgres
BITWARDENRS_WAIT_FOR_PORT: 5432
@ -24,5 +26,5 @@ services:
BITWARDENRS_ADMIN_TOKEN: test
volumes:
bitwardenrs_data:
data:
driver: local