2022-02-08 22:29:15 -08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
vaultwarden:
|
|
|
|
image: vaultwarden/server:latest
|
2022-04-29 11:49:50 -07:00
|
|
|
container_name: vaultwarden_vaultwarden
|
2022-07-13 10:47:27 -07:00
|
|
|
restart: "no"
|
2022-02-25 15:59:35 -08:00
|
|
|
env_file:
|
2023-09-18 12:46:26 -07:00
|
|
|
- vaultwarden_secrets.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
|
2022-11-14 14:18:44 -08:00
|
|
|
- traefik.http.routers.vaultwarden.tls.options=tls12@file
|
|
|
|
- traefik.http.routers.vaultwarden.middlewares=securityheaders@file
|
2022-02-08 22:29:15 -08:00
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|