Skip to content

Commit

Permalink
NET-1780: Bind Caddy to public IP, set default netclient to use port …
Browse files Browse the repository at this point in the history
…443 (#3220)

* bind caddy to public ip

* set netclient on server to 443
  • Loading branch information
abhishek9686 authored Dec 3, 2024
1 parent 8975148 commit 8546f85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/nm-quick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8546f85

Please sign in to comment.