NET-1780: Bind Caddy to public IP, set default netclient to use port 443 (#3220)

* bind caddy to public ip

* set netclient on server to 443
This commit is contained in:
Abhishek K 2024-12-03 13:25:49 +04:00 committed by GitHub
parent 89751480e8
commit 8546f858c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -52,8 +52,8 @@ services:
- caddy_data:/data
- caddy_conf:/config
ports:
- "80:80"
- "443:443"
- "$SERVER_HOST:80:80"
- "$SERVER_HOST:443:443"
coredns:
#network_mode: host

View file

@ -127,7 +127,7 @@ setup_netclient() {
./netclient install
echo "Register token: $TOKEN"
sleep 2
netclient join -t $TOKEN
netclient join -t $TOKEN --static-port -p 443
echo "waiting for netclient to become available"
local found=false