From 63081cd197001adba2dcad41c829e9abb63cc710 Mon Sep 17 00:00:00 2001 From: KsmoinO <99479-KsmoinO@users.noreply.framagit.org> Date: Sun, 27 Nov 2022 13:54:21 +0100 Subject: [PATCH] Ajout du token d'admin --- podman-vaultwarden/10_install.sh | 1 + podman-vaultwarden/vars.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/podman-vaultwarden/10_install.sh b/podman-vaultwarden/10_install.sh index 6dd13f3..043fcb3 100755 --- a/podman-vaultwarden/10_install.sh +++ b/podman-vaultwarden/10_install.sh @@ -23,6 +23,7 @@ fi cat < .env # vaultwarden DATABASE_URL=postgresql://vaultwarden:${GARBAYE_VAULTWARDEN_DATABASE_PASSWORD}@database:${database_port}/vaultwarden +ADMIN_TOKEN==${GARBAYE_VAULTWARDEN_ADMIN_PASSWORD} # PostgreSQL POSTGRES_DB=vaultwarden POSTGRES_PASSWORD=${GARBAYE_VAULTWARDEN_DATABASE_PASSWORD} diff --git a/podman-vaultwarden/vars.sh b/podman-vaultwarden/vars.sh index ec51480..3ba71f9 100644 --- a/podman-vaultwarden/vars.sh +++ b/podman-vaultwarden/vars.sh @@ -13,7 +13,7 @@ database_port=5432 #database_dialect=mysql #database_port=3306 ## mandatory ENV vars -envvars='GARBAYE_VAULTWARDEN_DATABASE_PASSWORD GARBAYE_VAULTWARDEN_DOMAIN' +envvars='GARBAYE_VAULTWARDEN_DATABASE_PASSWORD GARBAYE_VAULTWARDEN_ADMIN_PASSWORD' ## internal vars : do not touch project_name=${PWD##*/} pod_name="pod_${project_name}"