railwayapp-templates / n8n

Self-hosted Workflow Automation Tool
24 stars 34 forks source link

Fixing #3 issue by intoducing one new env var and changing start command. #4

Open alexbalandi opened 7 months ago

alexbalandi commented 7 months ago

It seems the problem of #3 is actually a semantics change in v 1.x of n8n : https://community.n8n.io/t/n8n-1-x-not-starting-well/28619

rather than do n8n start it's enough to just do start now.

I also introduced defult env var for TINI to avoid this warning : [WARN tini (7)] Tini is not running as PID 1 and isn't registered as a child subreaper.

It seems just changing run command to "start" in config is not enough, but changing dockerfile in proposed way seems to work if i deploy from by branch. I will try now to set up full-blown template of mine to make sure this works.

alexbalandi commented 7 months ago

I'm quite sure the changes work, it's just that USER and PASSWORD are no longer used even by "self-hosted" image, rather the first visitor to the page gets to "sign-up" with admin account and can configure the rest for the instance.