Amansoni7477030 commited on
Commit
da297f3
·
verified ·
1 Parent(s): 71c5386

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +3 -0
run.sh CHANGED
@@ -18,6 +18,9 @@ sleep 2
18
  # Print the container's IP address
19
  CONTAINER_IP=$(hostname -I | awk '{print $1}')
20
  echo "Container IP address: $CONTAINER_IP"
 
 
 
21
  export N8N_ENCRYPTION_KEY="n8n8n8n"
22
  # Allows usage of all built-in modules
23
  export NODE_FUNCTION_ALLOW_BUILTIN=*
 
18
  # Print the container's IP address
19
  CONTAINER_IP=$(hostname -I | awk '{print $1}')
20
  echo "Container IP address: $CONTAINER_IP"
21
+ # Print the public IP address of the Docker host
22
+ PUBLIC_IP=$(curl -s https://api.ipify.org)
23
+ echo "Public IP address of Docker host: $PUBLIC_IP"
24
  export N8N_ENCRYPTION_KEY="n8n8n8n"
25
  # Allows usage of all built-in modules
26
  export NODE_FUNCTION_ALLOW_BUILTIN=*