small_server_thingies/vaultwarden/README.md

20 lines
713 B
Markdown

# Vaultwarden
I've set up vaultwarden on Frankie. Here are a few notes about it.
## Hardening
To prevent users from registering freely, activate the following env var:
`SIGNUPS_ALLOWED=false`.
To activate the admin panel, you need to add the admin token as an env var,
like this: `ADMIN_TOKEN=<the-very-safe-token>`. Afterwards, you can enter the
admin panel by adding `/admin` in the URL.
## How to create new users
1. Go to the `docker-compose.yaml` and look for the env var `SIGNUPS_ALLOWED=false`.
2. Turn it to `true` and restart the container.
3. Have the user go to the web UI and create himself a user
4. Harden the instance again by setting the env var back to false and rebooting the container.