.
This commit is contained in:
@@ -7,6 +7,7 @@ WEBHOOK_URL=http://localhost:5678/ # This should be your public URL if n8n is ex
|
||||
N8N_ENCRYPTION_KEY=sosetudhatodmegmitirokide # IMPORTANT: Generate a strong, random key!
|
||||
|
||||
# Postgres configuration
|
||||
POSTGRES_DB_DATA_PATH=/home/wpanda/psql_data/n8n_db
|
||||
POSTGRES_DB=n8n
|
||||
POSTGRES_USER=n8n
|
||||
POSTGRES_PASSWORD=pandA6774 # IMPORTANT: Use a strong, random password!
|
||||
13
Dev/n8n/panda_n8n/Dockerfile
Normal file
13
Dev/n8n/panda_n8n/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
# Use the latest Fedora as the base image
|
||||
FROM fedora:latest
|
||||
|
||||
# Set labels for metadata
|
||||
LABEL maintainer="Wpanda"
|
||||
LABEL description="Custom Fedora image with gemini-cli pre-installed."
|
||||
|
||||
# Install npm, clean up dnf cache, and create a directory for the app
|
||||
RUN dnf install -y npm && \
|
||||
dnf clean all
|
||||
|
||||
# Install @google/gemini-cli globally using npm
|
||||
RUN npm install -g @google/gemini-cli
|
||||
@@ -31,8 +31,14 @@ services:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
- ${POSTGRES_DB_DATA_PATH}:/var/lib/postgresql/data
|
||||
|
||||
panda-gemini:
|
||||
build: .
|
||||
container_name: panda-gemini
|
||||
restart: unless-stopped
|
||||
command: tail -f /dev/null
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
db_data:
|
||||
|
||||
Reference in New Issue
Block a user