Add Vaultwarden config
This commit is contained in:
parent
d3ab4dd8c8
commit
4bdf2fa861
3 changed files with 24 additions and 0 deletions
3
src/Vaultwarden/.install.fish
Executable file
3
src/Vaultwarden/.install.fish
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
read -P "Install main config [yN] ? " inst
|
||||||
|
test $inst = "y"; and sudo install -o vaultwarden -g vaultwarden -m a=r,u=rw -b -D -t /etc/ vaultwarden.env
|
2
src/Vaultwarden/README.md
Normal file
2
src/Vaultwarden/README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Vaultwarden
|
||||||
|
Install to `/etc`.
|
19
src/Vaultwarden/vaultwarden.env
Normal file
19
src/Vaultwarden/vaultwarden.env
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
DATA_FOLDER=/var/lib/vaultwarden
|
||||||
|
DATABASE_URL=postgresql:///vaultwarden?host=/run/postgresql
|
||||||
|
|
||||||
|
WEB_VAULT_FOLDER=/usr/share/webapps/vaultwarden-web
|
||||||
|
WEB_VAULT_ENABLED=true
|
||||||
|
|
||||||
|
WEBSOCKET_ENABLED=true
|
||||||
|
|
||||||
|
WEBSOCKET_ADDRESS=127.0.0.1
|
||||||
|
WEBSOCKET_PORT=3012
|
||||||
|
|
||||||
|
ADMIN_TOKEN=$$$
|
||||||
|
DOMAIN=https://pass.edgarpierre.fr
|
||||||
|
|
||||||
|
ROCKET_ADDRESS=127.0.0.1
|
||||||
|
ROCKET_PORT=8011
|
||||||
|
ROCKET_LIMITS={json=10485760}
|
||||||
|
|
||||||
|
SMTP_SECURITY=force_tls
|
Loading…
Reference in a new issue