From 63138e278de90bd678ba3049e47eba85a9a4e9e9 Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Tue, 29 Jul 2025 14:13:44 -0600 Subject: [PATCH] Update docker-compose.yml to build N8N from local context and add Dockerfile for N8N service - Changed N8N service configuration in docker-compose.yml to build from a local context instead of using the latest image. - Added a new Dockerfile for the N8N service that installs ffmpeg to enhance functionality. --- docker-compose.yml | 3 ++- n8n/Dockerfile | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 n8n/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 5961021..1fb7120 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,8 @@ volumes: weaviate_data: x-n8n: &service-n8n - image: n8nio/n8n:latest + build: + context: ./n8n environment: &service-n8n-env DB_TYPE: postgresdb DB_POSTGRESDB_HOST: postgres diff --git a/n8n/Dockerfile b/n8n/Dockerfile new file mode 100644 index 0000000..65f4a0f --- /dev/null +++ b/n8n/Dockerfile @@ -0,0 +1,5 @@ +FROM n8nio/n8n:latest + +USER root +RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* +USER node \ No newline at end of file