Fix .env configuration of VAULTWARDEN_ADMIN_TOKEN
parent
9b4712a2dd
commit
fc5f0a1eb1
|
@ -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-$.
|
||||||
|
|
Loading…
Reference in New Issue