uj fedora n8n

This commit is contained in:
2025-12-24 12:25:30 +01:00
parent 9ec0266942
commit f3c52ffb6f
7 changed files with 77 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
# Start from a standard Fedora base image
FROM fedora:latest
# Install necessary dependencies using dnf
# -y flag to auto-confirm.
# We need nodejs (which includes npm) and python3 with pip.
RUN dnf install -y nodejs python3 python3-pip && dnf clean all
# Now use npm to install n8n globally
RUN npm install -g n8n
# Create a non-root user 'node' for security
RUN groupadd -r node && useradd -r -g node -d /home/node -m -s /bin/bash node
# Create the directory for n8n's data and set permissions
RUN mkdir /home/node/.n8n && \
chown -R node:node /home/node/.n8n
# Switch to the non-root 'node' user
USER node
# Set the working directory to the n8n data directory
WORKDIR /home/node/.n8n
# Expose the n8n port
EXPOSE 5678
# Set the default command to start n8n
CMD [ "n8n" ]

View File

@@ -1,6 +1,7 @@
services:
n8n:
image: n8nio/n8n:latest
# image: n8nio/n8n:latest
build: .
restart: always
ports:
- "5678:5678"

View File

@@ -0,0 +1,24 @@
{"__type":"$$EventMessageAudit","id":"cdbaccdd-190a-4540-9373-447821613c5a","ts":"2025-12-24T10:41:39.831+00:00","eventName":"n8n.audit.workflow.updated","message":"n8n.audit.workflow.updated","payload":{"userId":"83518984-8079-471d-bb46-b38676ef4115","_email":"i.meszely@aps-hh.de","_firstName":"Istvan","_lastName":"Meszely","globalRole":"global:owner","workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow"}}
{"__type":"$$EventMessageConfirm","confirm":"cdbaccdd-190a-4540-9373-447821613c5a","ts":"2025-12-24T10:41:39.832+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"e73ae462-db8b-40e8-9f54-223ab400b118","ts":"2025-12-24T10:41:40.495+00:00","eventName":"n8n.workflow.started","message":"n8n.workflow.started","payload":{"executionId":"1","workflowId":"BXlx8AYRPLgg2wuh","isManual":false,"workflowName":"My workflow"}}
{"__type":"$$EventMessageConfirm","confirm":"e73ae462-db8b-40e8-9f54-223ab400b118","ts":"2025-12-24T10:41:40.495+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"f6ff1adb-7e54-4d82-adf8-d500d1d8b784","ts":"2025-12-24T10:41:40.503+00:00","eventName":"n8n.node.started","message":"n8n.node.started","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"1","nodeType":"n8n-nodes-base.manualTrigger","nodeName":"When clicking Execute workflow","nodeId":"c60cc7f8-1936-4d98-b6c0-7ff0c3ee79c6"}}
{"__type":"$$EventMessageConfirm","confirm":"f6ff1adb-7e54-4d82-adf8-d500d1d8b784","ts":"2025-12-24T10:41:40.505+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"b996156d-568a-48d8-97aa-b462fd9fb250","ts":"2025-12-24T10:41:40.522+00:00","eventName":"n8n.node.finished","message":"n8n.node.finished","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"1","nodeType":"n8n-nodes-base.manualTrigger","nodeName":"When clicking Execute workflow","nodeId":"c60cc7f8-1936-4d98-b6c0-7ff0c3ee79c6"}}
{"__type":"$$EventMessageConfirm","confirm":"b996156d-568a-48d8-97aa-b462fd9fb250","ts":"2025-12-24T10:41:40.523+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"4e197d36-dcb8-43f0-a3b8-abe7287c0f0b","ts":"2025-12-24T10:41:40.524+00:00","eventName":"n8n.node.started","message":"n8n.node.started","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"1","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"4e197d36-dcb8-43f0-a3b8-abe7287c0f0b","ts":"2025-12-24T10:41:40.525+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"13f2dc0e-4b0b-4ad1-aaba-af5fa6c0ecda","ts":"2025-12-24T10:41:40.705+00:00","eventName":"n8n.node.finished","message":"n8n.node.finished","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"1","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"13f2dc0e-4b0b-4ad1-aaba-af5fa6c0ecda","ts":"2025-12-24T10:41:40.705+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"6d4574c2-7143-42f2-9772-bc52a81ab45a","ts":"2025-12-24T10:41:40.713+00:00","eventName":"n8n.workflow.failed","message":"n8n.workflow.failed","payload":{"userId":"83518984-8079-471d-bb46-b38676ef4115","executionId":"1","success":false,"isManual":true,"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","lastNodeExecuted":"Execute Command","errorNodeType":"n8n-nodes-base.executeCommand","errorMessage":"Command failed: python3 scripts/get_sw_fw_py\n/bin/sh: python3: not found\n"}}
{"__type":"$$EventMessageConfirm","confirm":"6d4574c2-7143-42f2-9772-bc52a81ab45a","ts":"2025-12-24T10:41:40.713+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageAudit","id":"85c53f4d-1845-46ba-8bba-6be73179589f","ts":"2025-12-24T10:41:50.055+00:00","eventName":"n8n.audit.workflow.updated","message":"n8n.audit.workflow.updated","payload":{"userId":"83518984-8079-471d-bb46-b38676ef4115","_email":"i.meszely@aps-hh.de","_firstName":"Istvan","_lastName":"Meszely","globalRole":"global:owner","workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow"}}
{"__type":"$$EventMessageConfirm","confirm":"85c53f4d-1845-46ba-8bba-6be73179589f","ts":"2025-12-24T10:41:50.055+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"9529d7a2-048f-47ed-92e0-f0d66a805178","ts":"2025-12-24T10:41:50.500+00:00","eventName":"n8n.workflow.started","message":"n8n.workflow.started","payload":{"executionId":"2","workflowId":"BXlx8AYRPLgg2wuh","isManual":false,"workflowName":"My workflow"}}
{"__type":"$$EventMessageConfirm","confirm":"9529d7a2-048f-47ed-92e0-f0d66a805178","ts":"2025-12-24T10:41:50.501+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"92939a0b-02b7-4c04-85ce-fe04b65b31f2","ts":"2025-12-24T10:41:50.504+00:00","eventName":"n8n.node.started","message":"n8n.node.started","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"2","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"92939a0b-02b7-4c04-85ce-fe04b65b31f2","ts":"2025-12-24T10:41:50.505+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"1d001334-2c09-4ffb-8610-4f9f98d8e2d6","ts":"2025-12-24T10:41:50.525+00:00","eventName":"n8n.node.finished","message":"n8n.node.finished","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"2","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"1d001334-2c09-4ffb-8610-4f9f98d8e2d6","ts":"2025-12-24T10:41:50.525+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"3d786003-da93-4204-b71b-94c6e5a5ef23","ts":"2025-12-24T10:41:50.529+00:00","eventName":"n8n.workflow.failed","message":"n8n.workflow.failed","payload":{"userId":"83518984-8079-471d-bb46-b38676ef4115","executionId":"2","success":false,"isManual":true,"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","lastNodeExecuted":"Execute Command","errorNodeType":"n8n-nodes-base.executeCommand","errorMessage":"Command failed: python scripts/get_sw_fw_py\n/bin/sh: python: not found\n"}}
{"__type":"$$EventMessageConfirm","confirm":"3d786003-da93-4204-b71b-94c6e5a5ef23","ts":"2025-12-24T10:41:50.529+00:00","source":{"id":"0","name":"eventBus"}}

View File

@@ -0,0 +1,20 @@
{"__type":"$$EventMessageWorkflow","id":"e6ea11b5-0930-4268-8dff-ca86d5cebf43","ts":"2025-12-24T11:24:37.542+00:00","eventName":"n8n.workflow.started","message":"n8n.workflow.started","payload":{"executionId":"3","workflowId":"BXlx8AYRPLgg2wuh","isManual":false,"workflowName":"My workflow"}}
{"__type":"$$EventMessageConfirm","confirm":"e6ea11b5-0930-4268-8dff-ca86d5cebf43","ts":"2025-12-24T11:24:37.543+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"2a3e2c22-21d3-4835-904e-e0abd2efa10d","ts":"2025-12-24T11:24:37.546+00:00","eventName":"n8n.node.started","message":"n8n.node.started","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"3","nodeType":"n8n-nodes-base.manualTrigger","nodeName":"When clicking Execute workflow","nodeId":"c60cc7f8-1936-4d98-b6c0-7ff0c3ee79c6"}}
{"__type":"$$EventMessageConfirm","confirm":"2a3e2c22-21d3-4835-904e-e0abd2efa10d","ts":"2025-12-24T11:24:37.546+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"b2f4c721-d7d6-48d9-bbfb-1fd776f49482","ts":"2025-12-24T11:24:37.551+00:00","eventName":"n8n.node.finished","message":"n8n.node.finished","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"3","nodeType":"n8n-nodes-base.manualTrigger","nodeName":"When clicking Execute workflow","nodeId":"c60cc7f8-1936-4d98-b6c0-7ff0c3ee79c6"}}
{"__type":"$$EventMessageConfirm","confirm":"b2f4c721-d7d6-48d9-bbfb-1fd776f49482","ts":"2025-12-24T11:24:37.551+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"cf28152c-48b0-441e-ae7b-87cc2d8bf0c1","ts":"2025-12-24T11:24:37.558+00:00","eventName":"n8n.node.started","message":"n8n.node.started","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"3","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"cf28152c-48b0-441e-ae7b-87cc2d8bf0c1","ts":"2025-12-24T11:24:37.558+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"1a18650f-155f-4622-bba3-38b06339c9b6","ts":"2025-12-24T11:24:37.641+00:00","eventName":"n8n.node.finished","message":"n8n.node.finished","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"3","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"1a18650f-155f-4622-bba3-38b06339c9b6","ts":"2025-12-24T11:24:37.641+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"8994c1e9-2fe5-4be1-9457-25e0448cc205","ts":"2025-12-24T11:24:37.666+00:00","eventName":"n8n.workflow.failed","message":"n8n.workflow.failed","payload":{"userId":"83518984-8079-471d-bb46-b38676ef4115","executionId":"3","success":false,"isManual":true,"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","lastNodeExecuted":"Execute Command","errorNodeType":"n8n-nodes-base.executeCommand","errorMessage":"Command failed: python scripts/get_sw_fw_py\npython: can't open file '/home/node/.n8n/scripts/get_sw_fw_py': [Errno 2] No such file or directory\n"}}
{"__type":"$$EventMessageConfirm","confirm":"8994c1e9-2fe5-4be1-9457-25e0448cc205","ts":"2025-12-24T11:24:37.667+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"9300091e-fdc2-4541-b6b5-8be4e98acad4","ts":"2025-12-24T11:24:58.291+00:00","eventName":"n8n.workflow.started","message":"n8n.workflow.started","payload":{"executionId":"4","workflowId":"BXlx8AYRPLgg2wuh","isManual":false,"workflowName":"My workflow"}}
{"__type":"$$EventMessageConfirm","confirm":"9300091e-fdc2-4541-b6b5-8be4e98acad4","ts":"2025-12-24T11:24:58.291+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"8e85b44a-0d66-481f-b67f-76fd8152d664","ts":"2025-12-24T11:24:58.293+00:00","eventName":"n8n.node.started","message":"n8n.node.started","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"4","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"8e85b44a-0d66-481f-b67f-76fd8152d664","ts":"2025-12-24T11:24:58.293+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageNode","id":"ced3843e-7566-4ad0-a17c-94e5819bbd3b","ts":"2025-12-24T11:24:58.327+00:00","eventName":"n8n.node.finished","message":"n8n.node.finished","payload":{"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","executionId":"4","nodeType":"n8n-nodes-base.executeCommand","nodeName":"Execute Command","nodeId":"2f6d68f5-7b04-4eee-a813-1dc88c83b018"}}
{"__type":"$$EventMessageConfirm","confirm":"ced3843e-7566-4ad0-a17c-94e5819bbd3b","ts":"2025-12-24T11:24:58.327+00:00","source":{"id":"0","name":"eventBus"}}
{"__type":"$$EventMessageWorkflow","id":"c490b8fe-dc42-4e71-a64e-553ce278b384","ts":"2025-12-24T11:24:58.330+00:00","eventName":"n8n.workflow.failed","message":"n8n.workflow.failed","payload":{"userId":"83518984-8079-471d-bb46-b38676ef4115","executionId":"4","success":false,"isManual":true,"workflowId":"BXlx8AYRPLgg2wuh","workflowName":"My workflow","lastNodeExecuted":"Execute Command","errorNodeType":"n8n-nodes-base.executeCommand","errorMessage":"Command failed: python3 /hom/node/scripts/get_sw_fw_py\npython3: can't open file '/hom/node/scripts/get_sw_fw_py': [Errno 2] No such file or directory\n"}}
{"__type":"$$EventMessageConfirm","confirm":"c490b8fe-dc42-4e71-a64e-553ce278b384","ts":"2025-12-24T11:24:58.330+00:00","source":{"id":"0","name":"eventBus"}}