feat(Vaultwarden): Move postgres dependency on postgres file
This commit is contained in:
parent
62334b2f85
commit
4bf479d0e0
|
@ -4,5 +4,7 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
vaultwarden:
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_CONTAINER_NAME}:5432/${POSTGRES_DB}
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_CONTAINER_NAME}:5432/${POSTGRES_DB}
|
||||
|
|
|
@ -11,8 +11,6 @@ services:
|
|||
image: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden/server:1.27.0-alpine}
|
||||
container_name: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden}
|
||||
restart: always
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN:?err}
|
||||
DOMAIN: https://${VAULTWARDEN_DOMAIN:?err}
|
||||
|
|
Loading…
Reference in New Issue