container-server/bitwarden/docker-compose.yml

26 lines
588 B
YAML
Raw Normal View History

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:
- 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:
- /srv/bitwarden:/data
networks:
- proxy
2019-11-05 22:32:12 +01:00
- mail