mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-11 15:44:52 +08:00
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:
parent
89751480e8
commit
8546f858c1
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue