1
Fork 0

Add Vaultwarden config

This commit is contained in:
Edgar P. Burkhart 2023-05-16 17:12:23 +02:00
parent d3ab4dd8c8
commit 4bdf2fa861
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 24 additions and 0 deletions

3
src/Vaultwarden/.install.fish Executable file
View 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

View File

@ -0,0 +1,2 @@
# Vaultwarden
Install to `/etc`.

View 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