2023-11-07 11:33:48 +01:00
|
|
|
services:
|
|
|
|
vaultwarden:
|
2024-07-16 11:07:50 +02:00
|
|
|
image: vaultwarden/server:1.31.0
|
2023-11-07 11:33:48 +01:00
|
|
|
container_name: vaultwarden
|
2024-07-16 11:07:50 +02:00
|
|
|
restart: unless-stopped
|
2023-11-07 11:33:48 +01:00
|
|
|
environment:
|
2024-07-16 11:07:50 +02:00
|
|
|
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
|
2023-11-07 11:33:48 +01:00
|
|
|
- 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
|