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

19 lines
429 B
YAML
Raw Normal View History

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