2021-07-18 19:35:25 +09:00
|
|
|
services:
|
|
|
|
https:
|
2022-09-20 22:29:59 +00:00
|
|
|
image: caddy:2.6.0-alpine@sha256:eb2faa697dcfeaa8fe36edf57dab9d98d4d6cbd3f2eb541ada2ceb713ffec219
|
2021-07-18 19:35:25 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
2022-05-30 00:37:26 +09:00
|
|
|
- "127.0.0.1:2019:2019"
|
2021-07-18 19:35:25 +09:00
|
|
|
volumes:
|
|
|
|
- ./etc/caddy:/etc/caddy
|
2021-07-18 20:38:29 +09:00
|
|
|
- ./srv:/srv
|
2021-07-18 19:35:25 +09:00
|
|
|
- caddy_data:/data
|
|
|
|
- caddy_config:/config
|
2022-09-04 19:17:36 +09:00
|
|
|
dns:
|
2022-09-19 13:25:32 +00:00
|
|
|
image: coredns/coredns:1.10.0@sha256:017727efcfeb7d053af68e51436ce8e65edbc6ca573720afb4f79c8594036955
|
2021-08-18 19:26:59 +09:00
|
|
|
restart: unless-stopped
|
|
|
|
expose: ["443"]
|
2022-05-30 00:43:07 +09:00
|
|
|
ports:
|
2022-06-10 23:05:40 +09:00
|
|
|
- "53:53/udp"
|
|
|
|
- "53:53/tcp"
|
2022-05-30 00:43:07 +09:00
|
|
|
- "853:853"
|
|
|
|
- "127.0.0.1:9153:9153"
|
2021-08-18 19:26:59 +09:00
|
|
|
volumes:
|
2021-08-18 23:58:07 +09:00
|
|
|
- ./etc/coredns:/etc/coredns
|
2021-08-18 19:26:59 +09:00
|
|
|
- caddy_data:/var/lib/caddy/data
|
2021-08-18 23:58:07 +09:00
|
|
|
command: "-conf /etc/coredns/Corefile"
|
2021-07-18 19:35:25 +09:00
|
|
|
volumes:
|
|
|
|
caddy_data:
|
|
|
|
caddy_config:
|