You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
555 B

---
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