30 lines
582 B
YAML
30 lines
582 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: caddy
|
|
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
|
|
|