homelab/jafner-tools/config/vaultwarden/docker-compose.yml

19 lines
429 B
YAML

version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
env_file:
- .env
networks:
- web
volumes:
- $DOCKER_DATA/data:/data
labels:
- traefik.http.routers.vaultwarden.rule=Host(`bitwarden.jafner.tools`)
- traefik.http.routers.vaultwarden.tls.certresolver=lets-encrypt
networks:
web:
external: true