Ajout du token d'admin

This commit is contained in:
KsmoinO 2022-11-27 13:54:21 +01:00
parent 42c7029b9f
commit 63081cd197
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@ fi
cat <<EOT > .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}

View file

@ -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}"