docker/vaultwarden/vaultwarden.yml

26 lines
729 B
YAML

services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
volumes:
- ./data/:/data/
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.vaultwarden.entryPoints=websecure'
- 'traefik.http.routers.vaultwarden.rule=Host(`vaultwarden.meftimes.com`)'
# environment:
# - 'DOMAIN=https://vaultwarden.meftimes.com'
# - 'SIGNUPS_ALLOWED=true'
# - 'SMTP_HOST=mail.meftimes.com'
# - 'SMTP_FROM=no-reply@meftimes.com'
# - 'SMTP_SECURITY=starttls'
# - 'SMTP_USERNAME=no-reply@meftimes.com'
# - 'SMTP_PASSWORD=password_goes_here'
restart: unless-stopped
networks:
- proxy
networks:
proxy:
external: true