Update entrypoint.sh

This commit is contained in:
kant777 2024-01-13 03:24:21 -08:00 committed by GitHub
parent bca8f13241
commit 0a869b40b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,9 +45,9 @@ fi
NODE_IP=${NODE_IP:-$(hostname -i)}
if [ -n "$PUBLIC_NODE_IP" ]; then
NAT_FLAG="--nat extip:$PUBLIC_NODE_IP"
NAT_FLAG="--nat=extip:$PUBLIC_NODE_IP"
else
NAT_FLAG="--nat none"
NAT_FLAG="--nat=none"
fi