binary1ne commited on
Commit
472e164
·
verified ·
1 Parent(s): 2aeacf6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,10 +1,12 @@
1
  FROM n8nio/n8n:latest
2
 
3
- # Configure n8n to run on port 7860 and listen on all interfaces
4
  ENV N8N_PORT=7860 \
5
  N8N_LISTEN_ADDRESS=0.0.0.0 \
 
6
  N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
7
  N8N_RUNNERS_ENABLED=true
8
 
9
- # Expose the custom port
10
  EXPOSE 7860
 
 
 
1
  FROM n8nio/n8n:latest
2
 
3
+ # Configuration environment variables
4
  ENV N8N_PORT=7860 \
5
  N8N_LISTEN_ADDRESS=0.0.0.0 \
6
+ N8N_PROXY_HOPS=1 \
7
  N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
8
  N8N_RUNNERS_ENABLED=true
9
 
 
10
  EXPOSE 7860
11
+
12
+ CMD ["n8n"]