services/vaultwarden/docker-compose.postgres.yml

11 lines
214 B
YAML

---
version: "3.8"
services:
vaultwarden:
depends_on:
- postgres
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_CONTAINER_NAME}:5432/${POSTGRES_DB}