steveternet/nuc/bitwarden/docker-compose.yml

32 lines
649 B
YAML
Raw Permalink Normal View History

2023-12-24 18:54:49 +00:00
---
version: "3.8"
services:
bitwarden:
image: vaultwarden/server:latest
container_name: bitwarden
restart: unless-stopped
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
labels:
- "traefik.http.services.bitwarden.loadbalancer.server.port=80"
- "traefik.enable=true"
- "traefik.http.routers.bitwarden.rule=Host(`bitwarden.${DOMAIN_ROOT}`)"
- 'traefik.http.routers.bitwarden.middlewares=authelia@docker'
volumes:
- vaultwarden_data:/data
2023-12-24 18:54:49 +00:00
networks:
- web
networks:
web:
external: true
2023-12-24 18:54:49 +00:00
volumes:
vaultwarden_data:
external: true