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-02-08 22:29:15 -08:00
|
|
|
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
|