This commit is contained in:
2025-12-23 14:43:16 +01:00
parent 0f35e8a69c
commit 38c21cf5c2
3 changed files with 22 additions and 2 deletions

View File

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

View 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

View File

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