diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml index e32481393..4d94f3045 100644 --- a/compose/docker-compose.yml +++ b/compose/docker-compose.yml @@ -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 diff --git a/scripts/nm-quick.sh b/scripts/nm-quick.sh index 232eb3f02..41fe603e2 100755 --- a/scripts/nm-quick.sh +++ b/scripts/nm-quick.sh @@ -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