mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 01:39:21 -07:00
Fix .env configuration of VAULTWARDEN_ADMIN_TOKEN
@@ -124,8 +124,11 @@ The same for using the docker/podman cli using `-e ADMIN_TOKEN`.
|
||||
```
|
||||
|
||||
**.env:**
|
||||
|
||||
_Make sure you don't use quotes in the `.env` file._
|
||||
|
||||
```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:**
|
||||
@@ -140,3 +143,5 @@ services:
|
||||
environment:
|
||||
- ADMIN_TOKEN=${VAULTWARDEN_ADMIN_TOKEN}
|
||||
```
|
||||
|
||||
You can check your configuration by calling `docker compose config`, you should see the escaped $-sign as double-$.
|
||||
|
||||
Reference in New Issue
Block a user