Skip to content

Commit 9ceb335

Browse files
committed
chore: use port 20241 for Caddy admin API and use Docker Compose for
portability Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
1 parent f3888a6 commit 9ceb335

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
services:
2+
caddy:
3+
image: ${PROXYPARTY_CADDY_IMAGE:-"ghcr.io/recaptime-dev/proxyparty-caddy/caddy-builds:latest"}
4+
expose:
5+
- 80:80
6+
- 443:443
7+
- 2019:2019
8+
volumes:
9+
- ./config/caddy:/etc/caddy
10+
- ./pages:/var/lib/caddy/pages
11+
restart: always

config/caddy/Caddyfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
on_demand_tls {
1515
ask {$ONDEMAND_TLS_ENDPOINT}
1616
}
17+
18+
admin :20241
1719
}
1820

1921
(globals) {

0 commit comments

Comments
 (0)