Spaces:
Running
Running
Update run.sh
Browse files
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=*
|