Update Dockerfile
Browse files- Dockerfile +6 -10
Dockerfile
CHANGED
|
@@ -1,14 +1,10 @@
|
|
| 1 |
-
|
| 2 |
-
FROM n8nio/n8n
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
ENV
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Expose the custom port
|
| 8 |
EXPOSE 7860
|
| 9 |
-
|
| 10 |
-
# Optionally you can override other env vars here
|
| 11 |
-
ENV N8N_BASIC_AUTH_USER=admin
|
| 12 |
-
ENV N8N_BASIC_AUTH_PASSWORD=secret
|
| 13 |
-
|
| 14 |
-
# Default CMD is inherited from base image, which runs n8n
|
|
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|