2019-11-05 22:32:12 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
2019-11-06 21:18:36 +01:00
|
|
|
bitwarden:
|
|
|
|
image: bitwardenrs/server
|
|
|
|
container_name: bitwarden
|
|
|
|
restart: unless-stopped
|
|
|
|
hostname: bitwarden.${BASE_DOMAIN}
|
|
|
|
environment:
|
|
|
|
- WEBSOCKET_ENABLED=true
|
|
|
|
- SMTP_HOST=mail
|
|
|
|
- SMTP_FROM=bitwarden@${BASE_DOMAIN}
|
|
|
|
- SMTP_PORT=25
|
|
|
|
- SMTP_SSL=false
|
|
|
|
# - SMTP_USERNAME=<username>
|
|
|
|
# - SMTP_PASSWORD=<password>
|
|
|
|
volumes:
|
|
|
|
- /srv/bitwarden:/data
|
|
|
|
networks:
|
|
|
|
- proxy
|
2019-11-05 22:32:12 +01:00
|
|
|
- mail
|