From ecf00b776a051c0ee5d79e178e340d16191b1afa Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 28 Feb 2026 17:10:15 +0100 Subject: [PATCH] Ajouter opt/template.yml --- opt/template.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 opt/template.yml diff --git a/opt/template.yml b/opt/template.yml new file mode 100644 index 0000000..8d4d213 --- /dev/null +++ b/opt/template.yml @@ -0,0 +1,25 @@ + +services: + vaultwarden: + image: vaultwarden/server:latest + container_name: 002-bitwarden + restart: unless-stopped + ports: + - "8080:80" + environment: + - WEBSOCKET_ENABLED=true + - SIGNUPS_ALLOWED=false # Désactivez après création compte admin + - ADMIN_TOKEN=LaPlusBelleDesapplisDeMotDepasseEnAutoHeberg # Générez un token fort + labels: + - com.centurylinklabs.watchtower.enable=true # Active updates + - com.centurylinklabs.watchtower.schedule=0 0 22 * * * # Tous les jours 4h + + volumes: + - /data/bitwarden:/data + networks: + - 001-stack-npm_nginx-proxy + # Pas de ports exposés : accès uniquement via NPM + +networks: + 001-stack-npm_nginx-proxy: + external: true # Réseau créé par NPM