Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alexbalandi
Copy link

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
Copy link
Author

alexbalandi commented Mar 30, 2024

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant