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.
This commit is contained in:
Yury Kossakovsky
2025-07-29 14:13:44 -06:00
parent 3709f2218d
commit 63138e278d
2 changed files with 7 additions and 1 deletions

View File

@@ -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

5
n8n/Dockerfile Normal file
View File

@@ -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