mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 08:50:11 -08:00
21 lines
374 B
YAML
21 lines
374 B
YAML
services:
|
|
|
|
caddy:
|
|
image: caddy/caddy:latest
|
|
restart: always
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
- 443:443/udp
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
labels:
|
|
- diun.enable=true
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|