update compose file
continuous-integration/drone/push Build is passing Details

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 - postgres
ports: ports:
- "80:8080" - "80:8080"
volumes:
- data:/app/data
environment: environment:
ITWARDENRS_WAIT_FOR_HOST: bitwardenrs_postgres BITWARDENRS_WAIT_FOR_HOST: bitwardenrs_postgres
BITWARDENRS_WAIT_FOR_PORT: 5432 BITWARDENRS_WAIT_FOR_PORT: 5432
BITWARDENRS_DATABASE_URL: postgresql://user:pass@bitwardenrs_postgres:5432/bitwarden BITWARDENRS_DATABASE_URL: postgresql://user:pass@bitwardenrs_postgres:5432/bitwarden
BITWARDENRS_ADMIN_TOKEN: test BITWARDENRS_ADMIN_TOKEN: test
volumes: volumes:
bitwardenrs_data: data:
driver: local driver: local
``` ```

View File

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