Fix .env configuration of VAULTWARDEN_ADMIN_TOKEN

Jens Kohl 2023-09-01 15:17:56 +02:00
parent 9b4712a2dd
commit fc5f0a1eb1
1 changed files with 6 additions and 1 deletions

@ -124,8 +124,11 @@ The same for using the docker/podman cli using `-e ADMIN_TOKEN`.
``` ```
**.env:** **.env:**
_Make sure you don't use quotes in the `.env` file._
```bash ```bash
VAULTWARDEN_ADMIN_TOKEN='$argon2id$v=19$m=65540,t=3,p=4$MmeK.....' VAULTWARDEN_ADMIN_TOKEN=$argon2id$v=19$m=65540,t=3,p=4$MmeK.....
``` ```
**docker-compose.yaml:** **docker-compose.yaml:**
@ -140,3 +143,5 @@ services:
environment: environment:
- ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN} - ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN}
``` ```
You can check your configuration by calling `docker compose config`, you should see the escaped $-sign as double-$.