vaultwarden/variables.yml

65 lines
1.4 KiB
YAML

---
# Name of this instance (job and service name)
instance: vaultwarden
vaultwarden:
# Server settings
server:
# Number of instances to run
count: 1
# DOcker image to use
image: vaultwarden/server:1.30.1-alpine
#image: danielberteaud/vaultwarden:1.30.0-1
# List of features to enable when building image
# (not used for now)
features:
- postgresql
# Resources allocation
resources:
cpu: 300
memory: 128
# Consul settings
consul:
connect:
upstreams:
- service_name: '[[ .mail.smtp_service_name ]]'
local_bind_port: 25
# Environment variables to set in the container
env:
ORG_EVENTS_ENABLED: 'true'
EVENTS_DAYS_RETAIN: 720
SIGNUPS_VERIFY: 'true'
SMTP_HOST: localhost
SMTP_PORT: 25
SMTP_FROM: vaultwarden-no-reply@[[ .consul.domain ]]
SMTP_SECURITY: off
TRASH_AUTO_DELETE_DAYS: 7
INCOMPLETE_2FA_TIME_LIMIT: 5
USER_ATTACHMENT_LIMIT: 204800
# Public URL of the service
public_url: https://vaultwarden.example.org/
# Traefik settings
traefik: {}
# Settings for the /admin interface
# Note that this interface is disabled unless ADMIN_TOKEN env var is set
admin:
# If enabled, we can set specific Traefik middlewares
traefik: {}
# Volumes for data persistance
volumes:
data:
type: csi
source: vaultwarden-data