25 lines
588 B
YAML
25 lines
588 B
YAML
version: '3.7'
|
|
|
|
# https://github.com/dani-garcia/bitwarden_rs/wiki
|
|
|
|
services:
|
|
bitwarden:
|
|
image: bitwardenrs/server:alpine
|
|
container_name: bitwarden
|
|
restart: "${RESTART:-no}"
|
|
hostname: bitwarden
|
|
domainname: ${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>
|
|
- SIGNUPS_ALLOWED=false
|
|
volumes:
|
|
- /srv/bitwarden:/data
|
|
networks:
|
|
- proxy
|
|
- mail
|