-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
N8n r2 #761
base: master
Are you sure you want to change the base?
N8n r2 #761
Conversation
Hi Peter - I have a couple of comments. All this is just my 2¢. I'm just a garden-variety user of and occasional contributor to this repo so please feel free to ignore everything I say. Apologies-in-advance for this turning out to be a fair bit longer than I had in mind when I started. port-pairingI note that you've dropped the quotes around the port mapping. Please see ports in the docker-compose documentation. Rather than try to figure out whether any particular port-pairing is at risk of misinterpretation, IOTstack tries to follow that advice.
postgresI've never tried to use N8N but it looks to me like the original service definition assumed MariaDB while you're proposing a switch to Postgres. Yes?
Whether we're talking MariaDB (previously) or Postgres (your PR), it looks to me like there's an implied assumption that the user selecting N8N in the menu will also be expected to select the corresponding RDBMS package in the menu. Yes? Assuming "yes" and "yes", could I perhaps invite you to study the existing NextCloud service definition, and also #759 which I've just submitted to add a WordPress container. In each case, the RDBMS is bundled with the headline service definition. There's no reason why a private instance of Postgres can't be bundled with N8N in the same fashion. Key benefits:
If you think this sounds like a good idea, can you please read the bit of the WordPress doco (added as part of #759) with the heading "About MariaDB" so you understand that And that brings me to another benefit:
build.pyWith all due respect to Slyke who slaved his guts out migrating the old-menu In my view, fixups are best handled by using a local Dockerfile (Mosquitto is a straightforward example of a Dockerfile adding self-repair to an existing image). There's a bit more on this in #331. While the NextCloud service definition still relies on Basically, between using Dockerfiles to add self-repair and having variable substitutions handled by It also means service definitions will "just work" whether they're added via the menu or concatenated onto compose files by hand. By "just work" I mean that, best case, the container will always at least start; and worst case, it will at least point the user to what needs to be done to get the container to start. For me, the opposite of "just work" is a container silently failing and going into a restart loop giving the user little-to-no hints as to why. ttyAMA0Although the variable is commented-out in the N8N service definition (and you didn't actually change it in your PR), I found myself wondering about this line:
There's background to what I'm about to say at #690. Once you've read it, you'll appreciate (if you didn't know it already) that what
Anyway, as a non-user of N8N speaking to a user of N8N:
For Q3 I'm thinking of something like Node-RED Serial Port Access which explains that, to be accessible inside the container, the device will have to be referenced in some manner via |
Following on from discussion in SensorsIot#761, this adds quotes to port mappings as recommended in docker-compose [documentation](https://docs.docker.com/compose/compose-file/05-services/#short-syntax-3): > HOST:CONTAINER should always be specified as a (quoted) string, to avoid conflicts with [yaml base-60 float](https://yaml.org/type/float.html) Signed-off-by: Phill Kelley <[email protected]>
Following on from discussion in SensorsIot#761, this adds quotes to port mappings as recommended in docker-compose [documentation](https://docs.docker.com/compose/compose-file/05-services/#short-syntax-3): > HOST:CONTAINER should always be specified as a (quoted) string, to avoid conflicts with [yaml base-60 float](https://yaml.org/type/float.html) Signed-off-by: Phill Kelley <[email protected]>
Expands discussion on hardware serial and Bluetooth devices. Follows on from SensorsIot#690 and includes more information about how to enable the devices under Bookworm. Research triggered by comments appended to SensorsIot#761. Signed-off-by: Phill Kelley <[email protected]>
Hey @pegr69 Is there a Dockerhub hosted instance of this where we can see what's in the built images? It seems like n8n is more targeted towards Enterprise and Businesses, with the DevOps, CICD CRM etc tools it offers instead of selfhosted IoT type setups. It doesn't appear to support plugins, but they have extensive integrations with a bunch of systems. I need to go through the licensing agreement too, most of the services on IoTStack use MIT, GNU etc. |
Working version of N8N with some docs.