Vaultwarden: Enable admin page & remove SIGNUPS_ALLOWED=false.
This commit is contained in:
parent
de1fd0454a
commit
bb4bdfca70
2 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN=https://vw.{{ domain }}
|
- DOMAIN=https://vw.{{ domain }}
|
||||||
- SIGNUPS_ALLOWED=false
|
- SIGNUPS_ALLOWED=false
|
||||||
- INVITATIONS_ALLOWED=false
|
- ADMIN_TOKEN={{ vaultwarden_secrets['admin_token_hash'] | regex_replace('\$', '$$') }}
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:{{ ports['vaultwarden'] }}:80
|
- 127.0.0.1:{{ ports['vaultwarden'] }}:80
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -21,3 +21,7 @@ synapse_secrets:
|
||||||
turn_shared_secret: "{{ coturn_secrets['static_auth_secret'] }}"
|
turn_shared_secret: "{{ coturn_secrets['static_auth_secret'] }}"
|
||||||
macaroon_secret_key:
|
macaroon_secret_key:
|
||||||
form_secret:
|
form_secret:
|
||||||
|
|
||||||
|
vaultwarden_secrets:
|
||||||
|
# Generate with: docker exec --rm -ti docker.io/vaultwarden/server:alpine /vaultwarden hash
|
||||||
|
admin_token_hash:
|
||||||
|
|
Loading…
Reference in a new issue