Robert Kaussow
8e9cf353f4
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Robert Kaussow <mail@geeklabor.de> Reviewed-on: docker/vaultwarden#41 Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>
29 lines
555 B
YAML
29 lines
555 B
YAML
---
|
|
version: "3"
|
|
|
|
services:
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_DB: vaultwarden
|
|
POSTGRES_PASSWORD: pass
|
|
POSTGRES_USER: user
|
|
|
|
vaultwarden:
|
|
container_name: vaultwarden
|
|
image: thegeeklab/vaultwarden
|
|
depends_on:
|
|
- postgres
|
|
ports:
|
|
- "80:8080"
|
|
volumes:
|
|
- data:/app/data
|
|
environment:
|
|
VAULTWARDEN_DATABASE_URL: postgresql://user:pass@vaultwarden_postgres:5432/vaultwarden
|
|
VAULTWARDEN_ADMIN_TOKEN: test
|
|
|
|
volumes:
|
|
data:
|
|
driver: local
|