Merge pull request 'feat(Vaultwarden): Ajout de la variable pour configurer le nom du service' (#48) from vaultwarden into main
## Détails - Ajout de la variable pour le nom du conteneur - Déplace la dépendance à postgres dans le fichier spécifique postgres ## Pourquoi - Pour être facilement configurable Reviewed-on: https://git.weko.io/resilien/services/pulls/48
This commit is contained in:
commit
c68a73b55b
|
@ -4,5 +4,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
vaultwarden:
|
vaultwarden:
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
environment:
|
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}
|
|
@ -9,10 +9,8 @@ volumes:
|
||||||
services:
|
services:
|
||||||
vaultwarden:
|
vaultwarden:
|
||||||
image: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden/server:1.27.0-alpine}
|
image: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden/server:1.27.0-alpine}
|
||||||
container_name: vaultwarden
|
container_name: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden}
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
environment:
|
environment:
|
||||||
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN:?err}
|
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN:?err}
|
||||||
DOMAIN: https://${VAULTWARDEN_DOMAIN:?err}
|
DOMAIN: https://${VAULTWARDEN_DOMAIN:?err}
|
||||||
|
|
Loading…
Reference in New Issue