GTO-Custom-AI commited on
Commit
ce09bf1
·
verified ·
1 Parent(s): 6acc94d

Upload start.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. start.sh +3 -2
start.sh CHANGED
@@ -23,7 +23,8 @@ find "${N8N_DATA}" -type d -exec chmod 0700 {} +
23
  find "${N8N_DATA}" -type f -exec chmod 0600 {} +
24
 
25
  # ---------- Drop Privileges & Launch ------------------------------------------
26
- echo "▸ [start.sh] Dropping to user 1000, starting n8n on port ${N8N_PORT:-7860} …"
27
 
28
  # su-exec replaces the current process (no intermediate shell)
29
- exec su-exec 1000:1000 n8n start
 
 
23
  find "${N8N_DATA}" -type f -exec chmod 0600 {} +
24
 
25
  # ---------- Drop Privileges & Launch ------------------------------------------
26
+ echo "▸ [start.sh] Dropping to user node (1000), starting n8n on port ${N8N_PORT:-7860} …"
27
 
28
  # su-exec replaces the current process (no intermediate shell)
29
+ # Use the named "node" user that ships with node:22-alpine (uid/gid 1000)
30
+ exec su-exec node n8n start