2023-11-07 11:33:48 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
vaultwarden:
|
2023-11-14 08:38:42 +01:00
|
|
|
image: vaultwarden/server:1.30.0
|
2023-11-07 11:33:48 +01:00
|
|
|
container_name: vaultwarden
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "9000:80"
|
|
|
|
environment:
|
|
|
|
- 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
|