2019-11-05 22:32:12 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
2019-11-10 21:50:43 +01:00
|
|
|
# https://github.com/dani-garcia/bitwarden_rs/wiki
|
|
|
|
|
2019-11-05 22:32:12 +01:00
|
|
|
services:
|
2019-11-06 21:18:36 +01:00
|
|
|
bitwarden:
|
2019-11-10 21:50:43 +01:00
|
|
|
image: bitwardenrs/server:alpine
|
2019-11-06 21:18:36 +01:00
|
|
|
container_name: bitwarden
|
2019-12-04 22:00:35 +01:00
|
|
|
restart: "${RESTART:-no}"
|
2019-12-05 22:37:25 +01:00
|
|
|
hostname: bitwarden
|
|
|
|
domainname: ${BASE_DOMAIN}
|
2019-11-06 21:18:36 +01:00
|
|
|
environment:
|
2020-03-01 00:02:11 +01:00
|
|
|
- DOMAIN=https://bitwarden.${BASE_DOMAIN}
|
2019-11-06 21:18:36 +01:00
|
|
|
- WEBSOCKET_ENABLED=true
|
|
|
|
- SMTP_HOST=mail
|
|
|
|
- SMTP_FROM=bitwarden@${BASE_DOMAIN}
|
|
|
|
- SMTP_PORT=25
|
|
|
|
- SMTP_SSL=false
|
|
|
|
# - SMTP_USERNAME=<username>
|
2019-11-10 21:50:43 +01:00
|
|
|
# - SMTP_PASSWORD=<password>
|
|
|
|
- SIGNUPS_ALLOWED=false
|
2019-11-06 21:18:36 +01:00
|
|
|
volumes:
|
2019-12-25 15:48:01 +01:00
|
|
|
- ${BASE_DIR:-/srv}/bitwarden:/data
|
2019-11-06 21:18:36 +01:00
|
|
|
networks:
|
|
|
|
- proxy
|
2019-11-05 22:32:12 +01:00
|
|
|
- mail
|