2021-05-15 12:19:58 +00:00
|
|
|
## Vaultwarden Configuration File
|
2020-01-17 10:36:37 +00:00
|
|
|
DATA_FOLDER=/app/data
|
2020-01-17 11:29:11 +00:00
|
|
|
RSA_KEY_FILENAME=/app/data/rsa_key
|
|
|
|
ICON_CACHE_FOLDER=/app/data/icon_cache
|
|
|
|
ATTACHMENTS_FOLDER=/app/data/attachments
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
{{ if (getenv "VAULTWARDEN_DATABASE_URL") -}}
|
|
|
|
DATABASE_URL={{ getenv "VAULTWARDEN_DATABASE_URL" }}
|
2020-10-17 21:17:18 +00:00
|
|
|
{{ end -}}
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
USER_ATTACHMENT_LIMIT={{ getenv "VAULTWARDEN_USER_ATTACHMENT_LIMIT" "1024" }}
|
|
|
|
ORG_ATTACHMENT_LIMIT={{ getenv "VAULTWARDEN_ORG_ATTACHMENT_LIMIT" "1024" }}
|
2020-03-14 20:42:05 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
{{ if (getenv "VAULTWARDEN_TEMPLATES_FOLDER") -}}
|
|
|
|
TEMPLATES_FOLDER={{ getenv "VAULTWARDEN_TEMPLATES_FOLDER" }}
|
2020-01-17 11:29:11 +00:00
|
|
|
{{ end -}}
|
2021-05-15 12:19:58 +00:00
|
|
|
RELOAD_TEMPLATES={{ getenv "VAULTWARDEN_RELOAD_TEMPLATES" "false" | conv.Bool }}
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
IP_HEADER={{ getenv "VAULTWARDEN_IP_HEADER" "X-Client-IP" }}
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
ICON_CACHE_TTL={{ getenv "VAULTWARDEN_ICON_CACHE_TTL" "2592000" }}
|
|
|
|
ICON_CACHE_NEGTTL={{ getenv "VAULTWARDEN_ICON_CACHE_NEGTTL" "259200" }}
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2020-01-17 12:01:39 +00:00
|
|
|
WEB_VAULT_FOLDER=/app/web-vault/
|
2021-05-15 12:19:58 +00:00
|
|
|
WEB_VAULT_ENABLED={{ getenv "VAULTWARDEN_WEB_VAULT_ENABLED" "true" | conv.Bool }}
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
WEBSOCKET_ENABLED={{ getenv "VAULTWARDEN_WEBSOCKET_ENABLED" "false" | conv.Bool }}
|
2020-01-20 12:37:12 +00:00
|
|
|
WEBSOCKET_ADDRESS=0.0.0.0
|
|
|
|
WEBSOCKET_PORT=3012
|
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
EXTENDED_LOGGING={{ getenv "VAULTWARDEN_EXTENDED_LOGGING" "true" | conv.Bool }}
|
|
|
|
LOG_LEVEL={{ getenv "VAULTWARDEN_LOG_LEVEL" "Info" }}
|
2020-01-17 12:01:39 +00:00
|
|
|
|
|
|
|
ENABLE_DB_WAL=true
|
2020-01-17 10:36:37 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
DISABLE_ICON_DOWNLOAD={{ getenv "VAULTWARDEN_DISABLE_ICON_DOWNLOAD" "false" | conv.Bool }}
|
|
|
|
ICON_DOWNLOAD_TIMEOUT={{ getenv "VAULTWARDEN_ICON_DOWNLOAD_TIMEOUT" "10" }}
|
|
|
|
{{ if (getenv "VAULTWARDEN_ICON_BLACKLIST_REGEXL") -}}
|
|
|
|
ICON_BLACKLIST_REGEX={{ getenv "VAULTWARDEN_ICON_BLACKLIST_REGEXL" }}
|
2020-01-17 12:34:21 +00:00
|
|
|
{{ end -}}
|
2021-05-15 12:19:58 +00:00
|
|
|
ICON_BLACKLIST_NON_GLOBAL_IPS={{ getenv "VAULTWARDEN_ICON_BLACKLIST_NON_GLOBAL_IPS" "true" | conv.Bool }}
|
2020-01-17 12:34:21 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
DISABLE_2FA_REMEMBER={{ getenv "VAULTWARDEN_DISABLE_2FA_REMEMBER" "false" | conv.Bool }}
|
2020-01-17 12:34:21 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
SIGNUPS_ALLOWED={{ getenv "VAULTWARDEN_SIGNUPS_ALLOWED" "true" | conv.Bool }}
|
|
|
|
SIGNUPS_VERIFY={{ getenv "VAULTWARDEN_SIGNUPS_VERIFY" "false" | conv.Bool }}
|
|
|
|
SIGNUPS_VERIFY_RESEND_TIME={{ getenv "VAULTWARDEN_SIGNUPS_VERIFY_RESEND_TIME" "3600" }}
|
|
|
|
SIGNUPS_VERIFY_RESEND_LIMIT={{ getenv "VAULTWARDEN_SIGNUPS_VERIFY_RESEND_LIMIT" "6" }}
|
|
|
|
{{ if (getenv "VAULTWARDEN_SIGNUPS_DOMAINS_WHITELIST") -}}
|
|
|
|
SIGNUPS_DOMAINS_WHITELIST={{ getenv "VAULTWARDEN_SIGNUPS_DOMAINS_WHITELIST" }}
|
2020-01-17 12:34:21 +00:00
|
|
|
{{ end -}}
|
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
INVITATIONS_ALLOWED={{ getenv "VAULTWARDEN_INVITATIONS_ALLOWED" "true" | conv.Bool }}
|
|
|
|
INVITATION_ORG_NAME={{ getenv "VAULTWARDEN_INVITATION_ORG_NAME" "Vaultwarden" }}
|
2020-01-17 12:34:21 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
{{ if (getenv "VAULTWARDEN_ADMIN_TOKEN") -}}
|
|
|
|
ADMIN_TOKEN={{ getenv "VAULTWARDEN_ADMIN_TOKEN" }}
|
2020-01-17 12:55:52 +00:00
|
|
|
{{ end -}}
|
2020-01-17 12:34:21 +00:00
|
|
|
DISABLE_ADMIN_TOKEN=false
|
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
PASSWORD_ITERATIONS={{ getenv "VAULTWARDEN_PASSWORD_ITERATIONS" "100000" }}
|
|
|
|
SHOW_PASSWORD_HINT={{ getenv "VAULTWARDEN_SHOW_PASSWORD_HINT" "true" | conv.Bool }}
|
|
|
|
DOMAIN={{ getenv "VAULTWARDEN_DOMAIN" "http://localhost/" }}
|
2020-01-17 12:34:21 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
AUTHENTICATOR_DISABLE_TIME_DRIFT={{ getenv "VAULTWARDEN_AUTHENTICATOR_DISABLE_TIME_DRIFT" "false" | conv.Bool }}
|
2020-01-17 12:34:21 +00:00
|
|
|
|
2020-01-17 10:36:37 +00:00
|
|
|
ROCKET_ADDRESS=0.0.0.0
|
|
|
|
ROCKET_PORT=8080
|
2021-05-15 12:19:58 +00:00
|
|
|
{{ if (getenv "VAULTWARDEN_ROCKET_WORKERS") -}}
|
|
|
|
ROCKET_WORKERS={{ getenv "VAULTWARDEN_ROCKET_WORKERS" }}
|
2020-10-17 21:17:18 +00:00
|
|
|
{{ end -}}
|
2020-01-17 12:34:21 +00:00
|
|
|
|
2021-05-15 12:19:58 +00:00
|
|
|
{{ if (getenv "VAULTWARDEN_SMTP_HOST") -}}
|
|
|
|
SMTP_HOST={{ getenv "VAULTWARDEN_SMTP_HOST" }}
|
|
|
|
SMTP_FROM={{ getenv "VAULTWARDEN_SMTP_FROM" }}
|
|
|
|
SMTP_FROM_NAME={{ getenv "VAULTWARDEN_SMTP_FROM_NAME" "Vaultwarden" }}
|
|
|
|
SMTP_PORT={{ getenv "VAULTWARDEN_SMTP_PORT" "587" }}
|
|
|
|
SMTP_SSL={{ getenv "VAULTWARDEN_SMTP_SSL" "true" | conv.Bool }}
|
|
|
|
{{ if (getenv "VAULTWARDEN_SMTP_USERNAME") -}}
|
|
|
|
SMTP_USERNAME={{ getenv "VAULTWARDEN_SMTP_USERNAME" }}
|
|
|
|
SMTP_PASSWORD={{ getenv "VAULTWARDEN_SMTP_PASSWORD" }}
|
2020-01-17 12:34:21 +00:00
|
|
|
{{ end -}}
|
2021-05-15 12:19:58 +00:00
|
|
|
SMTP_AUTH_MECHANISM={{ getenv "VAULTWARDEN_SMTP_AUTH_MECHANISM" "Plain" }}
|
|
|
|
SMTP_TIMEOUT={{ getenv "VAULTWARDEN_SMTP_TIMEOUT" "15" }}
|
2020-01-17 14:25:09 +00:00
|
|
|
{{ end -}}
|