N8n image modositäsa
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# PostgreSQL Database Settings
|
||||
POSTGRES_DB=n8n
|
||||
POSTGRES_USER=n8nuser
|
||||
POSTGRES_PASSWORD=mysecretpassword
|
||||
POSTGRES_PASSWORD=virgI6774
|
||||
|
||||
# n8n Subdomain and Domain Settings
|
||||
# Example: n8n.example.com
|
||||
DOMAIN_NAME=example.com
|
||||
DOMAIN_NAME=home.meszely.eu
|
||||
SUBDOMAIN=n8n
|
||||
|
||||
15
Dev/n8n_gemini_db/Dockerfile
Normal file
15
Dev/n8n_gemini_db/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
# Start from the official n8n image
|
||||
FROM n8nio/n8n
|
||||
|
||||
# Switch to root user to install system packages
|
||||
USER root
|
||||
|
||||
# Install Python and pip for Alpine Linux
|
||||
# hadolint ignore=DL3018
|
||||
RUN apk add --no-cache python3 py3-pip
|
||||
|
||||
# Install the gemini python package
|
||||
RUN pip install --break-system-packages google-generativeai
|
||||
|
||||
# Switch back to the non-root user that n8n uses
|
||||
USER node
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:13
|
||||
@@ -15,7 +13,7 @@ services:
|
||||
- n8n_network
|
||||
|
||||
n8n:
|
||||
image: n8nio/n8n
|
||||
build: .
|
||||
container_name: n8n_service
|
||||
restart: always
|
||||
ports:
|
||||
@@ -39,18 +37,6 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
gemini-cli:
|
||||
build:
|
||||
context: ./gemini-cli
|
||||
container_name: gemini_cli_service
|
||||
restart: always
|
||||
volumes:
|
||||
- shared_data:/data
|
||||
networks:
|
||||
- n8n_network
|
||||
# A parancs, hogy a konténer fusson és várjon a feladatokra
|
||||
command: tail -f /dev/null
|
||||
|
||||
networks:
|
||||
n8n_network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user