File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,20 @@ try {
2222
2323Write-Host " ngrok URL: $ngrokUrl " - ForegroundColor Green
2424
25- # Start n8n with EXPLICIT volume: n8n_data -> /home/node/.n8n
25+ # Always pull the latest full image from Docker Hub
26+ Write-Host " Pulling latest n8n image..." - ForegroundColor Cyan
27+ docker pull n8nio/ n8n:latest | Out-Null
28+
29+ # Start n8n with persistent volume and webhook URL
2630Write-Host " Starting n8n with volume 'n8n_data'..." - ForegroundColor Cyan
2731docker run - d `
2832 -- name n8n `
2933 - p 5678 :5678 `
3034 - v n8n_data:/ home/ node/ .n8n `
3135 - e WEBHOOK_URL= " $ngrokUrl /" `
32- docker.n8n.io/ n8nio/ n8n:latest | Out-Null
36+ - e GENERIC_TIMEZONE= " Europe/Rome" `
37+ - e N8N_BASIC_AUTH_ACTIVE= false `
38+ n8nio/ n8n:latest | Out-Null
3339
3440Write-Host " "
3541Write-Host " SUCCESS: n8n is running!" - ForegroundColor Green
You can’t perform that action at this time.
0 commit comments