plausible/reverse-proxy/docker-compose.caddy-gen.yml

28 lines
681 B
YAML
Raw Normal View History

version: "3.3"
services:
caddy-gen:
container_name: caddy-gen
image: "wemakeservices/caddy-gen:latest"
restart: always
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- caddy-certificates:/data/caddy
ports:
- "80:80"
- "443:443"
depends_on:
- plausible
plausible:
ports:
- 8000:8000
labels:
virtual.host: "example.com" # change to your domain name
virtual.alias: "www.example.com" # change to any aliases you use (or remove)
virtual.port: "8000"
virtual.tls-email: "admin@example.com" # change to your email
volumes:
caddy-certificates:
driver: local