fix(n8n): fix initialization error (#3557)
This commit is contained in:
parent
b73c3d6c54
commit
0065a397d7
|
@ -5,9 +5,11 @@
|
||||||
"exposable": true,
|
"exposable": true,
|
||||||
"port": 8215,
|
"port": 8215,
|
||||||
"id": "n8n-1",
|
"id": "n8n-1",
|
||||||
"tipi_version": 2,
|
"tipi_version": 3,
|
||||||
"version": "1.30.1",
|
"version": "1.42.1",
|
||||||
"categories": ["automation"],
|
"categories": [
|
||||||
|
"automation"
|
||||||
|
],
|
||||||
"description": "n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.",
|
"description": "n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.",
|
||||||
"short_desc": "Workflow Automation Tool. Alternative to Zapier",
|
"short_desc": "Workflow Automation Tool. Alternative to Zapier",
|
||||||
"author": "n8n.io",
|
"author": "n8n.io",
|
||||||
|
@ -27,5 +29,8 @@
|
||||||
"env_variable": "N8N_NR_DB_PASSWORD"
|
"env_variable": "N8N_NR_DB_PASSWORD"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"supported_architectures": ["arm64", "amd64"]
|
"supported_architectures": [
|
||||||
|
"arm64",
|
||||||
|
"amd64"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
version: "3.7"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
n8n-1:
|
n8n-1:
|
||||||
container_name: n8n-1
|
container_name: n8n-1
|
||||||
image: n8nio/n8n:1.30.1
|
image: n8nio/n8n:1.42.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- ${APP_PORT}:5678
|
- ${APP_PORT}:5678
|
||||||
|
@ -11,6 +10,7 @@ services:
|
||||||
- ${APP_DATA_DIR}/data/n8n:/home/node/.n8n
|
- ${APP_DATA_DIR}/data/n8n:/home/node/.n8n
|
||||||
environment:
|
environment:
|
||||||
- N8N_EDITOR_BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
- N8N_EDITOR_BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||||
|
- N8N_SECURE_COOKIE=false
|
||||||
- WEBHOOK_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
- WEBHOOK_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||||
- DB_TYPE=postgresdb
|
- DB_TYPE=postgresdb
|
||||||
- DB_POSTGRESDB_HOST=n8n-db
|
- DB_POSTGRESDB_HOST=n8n-db
|
||||||
|
@ -23,6 +23,8 @@ services:
|
||||||
links:
|
links:
|
||||||
- n8n-db
|
- n8n-db
|
||||||
depends_on:
|
depends_on:
|
||||||
|
n8n-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
n8n-db:
|
n8n-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
labels:
|
labels:
|
||||||
|
@ -75,3 +77,9 @@ services:
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
||||||
|
n8n-init:
|
||||||
|
image: bash:5.2.26
|
||||||
|
command: ['sh', '-c', 'chown -R 1000:1000 /home/node/.n8n']
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data/n8n:/home/node/.n8n
|
||||||
|
|
Loading…
Reference in New Issue
Block a user