abenkbp commited on
Commit
47d2fcd
·
1 Parent(s): 5de0ddb
Files changed (1) hide show
  1. data/config_nginx.sh +3 -0
data/config_nginx.sh CHANGED
@@ -1,4 +1,7 @@
1
  #!/bin/bash
 
 
 
2
  envsubst '${GRADIO_SERVER_PORT},${N8N_PORT},${BACKEND_PORT}' < /home/user/app/data/nginx.conf.template > /etc/nginx/nginx.conf
3
  echo "nginx.conf has been written to /etc/nginx/nginx.conf"
4
  echo "starting up NginX"
 
1
  #!/bin/bash
2
+ export GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT}
3
+ export N8N_PORT=${N8N_PORT}
4
+ export AGENT_ONE_SECRET=${AGENT_ONE_SECRET}
5
  envsubst '${GRADIO_SERVER_PORT},${N8N_PORT},${BACKEND_PORT}' < /home/user/app/data/nginx.conf.template > /etc/nginx/nginx.conf
6
  echo "nginx.conf has been written to /etc/nginx/nginx.conf"
7
  echo "starting up NginX"