homelab/druid/config/vaultwarden/docker-compose.yml
Joey Hafner 1109cfd9e6
All checks were successful
Deploy to Fighter / Deploy (push) Successful in 17s
Deploy to Druid / Deploy (push) Successful in 18s
Deploy to Fighter / Notify (push) Successful in 2s
Deploy to Druid / Notify (push) Successful in 9s
Update all compose files to 3.9 spec
2024-02-15 02:09:59 -08:00

22 lines
622 B
YAML

version: '3.9'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden_vaultwarden
restart: "no"
env_file:
- path: ./vaultwarden_secrets.env
required: false
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
- traefik.http.routers.vaultwarden.tls.options=tls12@file
- traefik.http.routers.vaultwarden.middlewares=securityheaders@file
networks:
web:
external: true