vaultwarden-deployment/docker-compose.yml

25 lines
595 B
YAML
Raw Normal View History

services:
vaultwarden:
2024-07-16 11:07:50 +02:00
image: vaultwarden/server:1.31.0
container_name: vaultwarden
2024-07-16 11:07:50 +02:00
restart: unless-stopped
environment:
2024-07-16 11:07:50 +02:00
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
- SIGNUPS_ALLOWED=false
- DOMAIN=${DOMAIN}
- SMTP_HOST=${SMTP_HOST}
- SMTP_FROM=${SMTP_FROM}
- SMTP_PORT=587
- SMTP_SSL=true
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- ADMIN_TOKEN=${ADMIN_TOKEN}
volumes:
- ./bw-data:/data
2024-07-16 11:07:50 +02:00
networks:
- nginx_proxy
networks:
nginx_proxy:
external: true