vaultwarden/docker-compose.yml

29 lines
558 B
YAML
Raw Normal View History

2020-01-17 10:36:37 +00:00
---
version: '3'
2020-01-17 10:36:37 +00:00
services:
postgres:
2020-05-04 17:34:07 +00:00
container_name: 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
2020-09-21 20:11:01 +00:00
image: thegeeklab/bitwardenrs:latest
depends_on:
- postgres
2020-01-17 10:36:37 +00:00
ports:
- "80:8080"
2020-02-01 22:55:13 +00:00
volumes:
- data:/app/data
environment:
BITWARDENRS_DATABASE_URL: postgresql://user:pass@bitwardenrs_postgres:5432/bitwarden
BITWARDENRS_ADMIN_TOKEN: test
2020-01-17 10:36:37 +00:00
volumes:
2020-02-01 22:55:13 +00:00
data:
2020-01-17 10:36:37 +00:00
driver: local