sysfiles/opt/vaultwarden/docker-compose.yml

30 lines
711 B
YAML

version: "3.0"
services:
vaultwarden:
image: vaultwarden/server:1.30.3-alpine
restart: always
environment:
ADMIN_TOKEN: ${ADMIN_TOKEN}
DOMAIN: https://vault.jilits.se
WEBSOCKET_ENABLED: "true" # For notifications
PASSWORD_HINTS_ALLOWED: "false"
SHOW_PASSWORD_HINT: "false"
SIGNUPS_DOMAINS_WHITELIST: jilits.se
SMTP_HOST: mail.jilits.se
SMTP_PORT: 465
SMTP_SECURITY: force_tls
SMTP_USERNAME: ${SMTP_USER}
SMTP_PASSWORD: ${SMTP_PASS}
HELO_NAME: vault.jilits.se
SMTP_FROM_NAME: Valtwarden
SMTP_FROM: vault@jilits.se
volumes:
- data:/data
ports:
- "8010:80"
- "3012:3012"
volumes:
data: