thedocks/vaultwarden/docker-compose.yml
2023-06-13 13:07:06 +01:00

30 lines
587 B
YAML

version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
environment:
- WEBSOCKET_ENABLED=true
volumes:
- ./vw-data:/data
caddy:
image: caddy:2
container_name: vaultcaddy
restart: always
ports:
- 84:80
- 444:443
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./caddy-config:/config
- ./caddy-data:/data
environment:
- DOMAIN=https://vault.quodatum.duckdns.org
- EMAIL=bunce.andy@gmail.com
- LOG_FILE=/data/access.log