2020-01-17 10:36:37 +00:00
|
|
|
---
|
2020-10-18 11:23:10 +00:00
|
|
|
version: "3"
|
2020-01-17 10:36:37 +00:00
|
|
|
|
|
|
|
services:
|
2020-02-01 16:54:03 +00:00
|
|
|
postgres:
|
2020-05-04 17:34:07 +00:00
|
|
|
container_name: postgres
|
2020-02-01 16:54:03 +00:00
|
|
|
image: postgres
|
|
|
|
environment:
|
2021-05-15 12:19:58 +00:00
|
|
|
POSTGRES_DB: vaultwarden
|
2020-02-01 16:54:03 +00:00
|
|
|
POSTGRES_PASSWORD: pass
|
|
|
|
POSTGRES_USER: user
|
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
vaultwarden:
|
|
|
|
container_name: vaultwarden
|
|
|
|
image: thegeeklab/vaultwarden
|
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 22:55:13 +00:00
|
|
|
volumes:
|
|
|
|
- data:/app/data
|
2020-02-01 16:54:03 +00:00
|
|
|
environment:
|
2021-05-15 12:19:58 +00:00
|
|
|
VAULTWARDEN_DATABASE_URL: postgresql://user:pass@vaultwarden_postgres:5432/vaultwarden
|
|
|
|
VAULTWARDEN_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
|