21 lines
588 B
YAML
21 lines
588 B
YAML
version: '3'
|
|
services:
|
|
vaultwarden:
|
|
image: vaultwarden/server:latest
|
|
container_name: vaultwarden_vaultwarden
|
|
restart: "no"
|
|
env_file:
|
|
- vaultwarden_secrets.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
|
|
- traefik.http.routers.vaultwarden.tls.options=tls12@file
|
|
- traefik.http.routers.vaultwarden.middlewares=securityheaders@file
|
|
networks:
|
|
web:
|
|
external: true
|