container-server/bitwarden/docker-compose.yml

21 lines
483 B
YAML

version: '3.7'
services:
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
- mail