homeserver/docker/stacks/bitwarden/bitwarden.yml
2022-02-09 17:54:58 +00:00

29 lines
635 B
YAML

services:
bitwarden:
image: vaultwarden/server
container_name: bitwarden
user: ${PUID}:${PGID}
networks:
- bitwarden
- proxy
environment:
- TZ=${TIMEZONE}
- DOMAIN=${BW_URL}
- WEBSOCKET_ENABLED=true
- SIGNUPS_ALLOWED=false
- ADMIN_TOKEN=${BW_ADMIN_TOKEN}
- LOG_FILE=/data/log/bitwarden.log
- ROCKET_PORT=8080
volumes:
- ${APPS_DIR}/bitwarden:/data
ports:
- 8080:8080
restart: unless-stopped
networks:
proxy:
external:
name: proxy
bitwarden:
name: bitwarden