mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 16:08:01 +00:00
29 lines
769 B
YAML
29 lines
769 B
YAML
services:
|
|
https:
|
|
image: caddy:2.5.2-alpine@sha256:b31ff95e98737b849d6af1fb9d9cb54a66ba3684564b3310541f60b12b1dd619
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "127.0.0.1:2019:2019"
|
|
volumes:
|
|
- ./etc/caddy:/etc/caddy
|
|
- ./srv:/srv
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
dns:
|
|
image: coredns/coredns:1.9.4@sha256:b82e294de6be763f73ae71266c8f5466e7e03c69f3a1de96efd570284d35bb18
|
|
restart: unless-stopped
|
|
expose: ["443"]
|
|
ports:
|
|
- "53:53/udp"
|
|
- "53:53/tcp"
|
|
- "853:853"
|
|
- "127.0.0.1:9153:9153"
|
|
volumes:
|
|
- ./etc/coredns:/etc/coredns
|
|
- caddy_data:/var/lib/caddy/data
|
|
command: "-conf /etc/coredns/Corefile"
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|