Ajout du token d'admin
This commit is contained in:
parent
42c7029b9f
commit
63081cd197
|
@ -23,6 +23,7 @@ fi
|
||||||
cat <<EOT > .env
|
cat <<EOT > .env
|
||||||
# vaultwarden
|
# vaultwarden
|
||||||
DATABASE_URL=postgresql://vaultwarden:${GARBAYE_VAULTWARDEN_DATABASE_PASSWORD}@database:${database_port}/vaultwarden
|
DATABASE_URL=postgresql://vaultwarden:${GARBAYE_VAULTWARDEN_DATABASE_PASSWORD}@database:${database_port}/vaultwarden
|
||||||
|
ADMIN_TOKEN==${GARBAYE_VAULTWARDEN_ADMIN_PASSWORD}
|
||||||
# PostgreSQL
|
# PostgreSQL
|
||||||
POSTGRES_DB=vaultwarden
|
POSTGRES_DB=vaultwarden
|
||||||
POSTGRES_PASSWORD=${GARBAYE_VAULTWARDEN_DATABASE_PASSWORD}
|
POSTGRES_PASSWORD=${GARBAYE_VAULTWARDEN_DATABASE_PASSWORD}
|
||||||
|
|
|
@ -13,7 +13,7 @@ database_port=5432
|
||||||
#database_dialect=mysql
|
#database_dialect=mysql
|
||||||
#database_port=3306
|
#database_port=3306
|
||||||
## mandatory ENV vars
|
## 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
|
## internal vars : do not touch
|
||||||
project_name=${PWD##*/}
|
project_name=${PWD##*/}
|
||||||
pod_name="pod_${project_name}"
|
pod_name="pod_${project_name}"
|
||||||
|
|
Loading…
Reference in a new issue