2020-01-17 10:36:37 +00:00
|
|
|
---
|
2020-02-01 16:54:03 +00:00
|
|
|
version: '3'
|
2020-01-17 10:36:37 +00:00
|
|
|
|
|
|
|
services:
|
2020-02-01 16:54:03 +00:00
|
|
|
postgres:
|
|
|
|
container_name: bitwardenrs_postgres
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: bitwarden
|
|
|
|
POSTGRES_PASSWORD: pass
|
|
|
|
POSTGRES_USER: user
|
|
|
|
|
2020-01-17 10:36:37 +00:00
|
|
|
bitwardenrs:
|
|
|
|
container_name: bitwardenrs
|
|
|
|
image: xoxys/bitwardenrs:latest
|
2020-02-01 16:54:03 +00:00
|
|
|
depends_on:
|
|
|
|
- postgres
|
2020-01-17 10:36:37 +00:00
|
|
|
ports:
|
|
|
|
- "80:8080"
|
2020-02-01 16:54:03 +00:00
|
|
|
environment:
|
2020-02-01 18:09:53 +00:00
|
|
|
BITWARDENRS_WAIT_FOR_HOST: bitwardenrs_postgres
|
|
|
|
BITWARDENRS_WAIT_FOR_PORT: 5432
|
2020-02-01 16:54:03 +00:00
|
|
|
BITWARDENRS_DATABASE_URL: postgresql://user:pass@bitwardenrs_postgres:5432/bitwarden
|
|
|
|
BITWARDENRS_ADMIN_TOKEN: test
|
2020-01-17 10:36:37 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
bitwardenrs_data:
|
|
|
|
driver: local
|