mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
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:
@@ -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
5
n8n/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user