mirror of
https://github.com/plausible/hosting.git
synced 2024-12-22 12:03:18 -06:00
2a691320b6
Domain aliases aren't applicable to our use case, so no need to leave it in
25 lines
561 B
YAML
25 lines
561 B
YAML
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:
|
|
labels:
|
|
virtual.host: "example.com" # change to your domain name
|
|
virtual.port: "8000"
|
|
virtual.tls-email: "admin@example.com" # change to your email
|
|
|
|
volumes:
|
|
caddy-certificates:
|
|
driver: local
|