Compare commits

..

3 Commits

Author SHA1 Message Date
cbc3947df0 neu n8n 2025-12-22 11:38:37 +01:00
7b5f382503 . 2025-12-22 11:34:32 +01:00
54bfe7bdc4 n8n update 2025-12-22 10:46:24 +01:00
4 changed files with 35 additions and 82 deletions

View File

@@ -1,7 +1,12 @@
# Adatbázis beállítások # .env file for n8n and Postgres
# Replace with your desired values
# n8n configuration
N8N_HOST=localhost
WEBHOOK_URL=http://localhost:5678/ # This should be your public URL if n8n is exposed to the internet
N8N_ENCRYPTION_KEY=sosetudhatodmegmitirokide # IMPORTANT: Generate a strong, random key!
# Postgres configuration
POSTGRES_DB=n8n POSTGRES_DB=n8n
POSTGRES_USER=n8n POSTGRES_USER=n8n
POSTGRES_PASSWORD=pandA6774 POSTGRES_PASSWORD=pandA6774 # IMPORTANT: Use a strong, random password!
# Itt beállíthatsz egyedi időzónát az n8n számára, ha szükséges
# GENERIC_TIMEZONE=Europe/Budapest

View File

@@ -1,19 +0,0 @@
# 1. lépés: Alap image
FROM fedora:latest
# 2. lépés: Alap csomagok és NodeJS telepítése
RUN dnf update -y && \
dnf install -y nodejs npm && \
dnf clean all
# 3. lépés: Globális npm csomagok telepítése (gemini-cli és n8n)
RUN npm install -g @google/gemini-cli n8n
# 4. lépés: n8n portjának dokumentálása
EXPOSE 5678
# 5. lépés: Alapértelmezett munkakönyvtár beállítása az n8n adatoknak
WORKDIR /data
# 6. lépés: A konténer indítási parancsa az n8n szerver elindításához
CMD ["n8n"]

View File

@@ -1,41 +0,0 @@
# Project Gemini Workspace Overview
This workspace is a collection of scripts, applications, documentation, and development projects related to system administration and automation.
## Main Directories
### `/Scripts/`
This directory contains all the scripts for automation and administration, organized by language.
- **`/bash/`**: Bash scripts.
- **`/hp aruba switch/`**: Scripts and documentation for HP Aruba switches.
- **`/powershell/`**: PowerShell scripts for various tasks.
- **`/python/`**: Python scripts, mainly for email and PDF processing.
- **`/regkey/`**: Registry key files.
- **`/sql/`**: SQL scripts for database creation and queries.
### `/Dev/`
This directory contains various development projects, such as `network_scann/`, `switch_ip_scann_CSV/`, `switch_ip_scann_DB/` and serves as a collection of configuration files and notes for various system administration tasks.
### `/Doku/`
This directory is used for documentation, data storage, and logs. It contains CSV and text files with user data, printer information, and various logs, organized into subdirectories like `Ai`, `Logs`, and `Pdf`.
## Usage
This workspace is a central hub for managing systems and developing automation solutions.
- Use the scripts in `/Scripts/` to perform specific administrative tasks.
- Refer to `/Doku/` for existing documentation and data exports.
- Install or run tools from the `/Apps/` directory.
##
Magyarul csevegünk.
Ha E-Mail-t kell irni akkor arr ältaläban Németülvan rá szükség.
A kedvenc programozási nyelvem a Python.
Weboldalak amiket hasznälni szoktunk:
mermaid.live
Általában fedora linux alatt dolgozunk.
Második leggyakrabban használt linux az Ubuntu alapu.
Virtualizácionk Proxmox VE

View File

@@ -1,32 +1,40 @@
version: '3.8'
services: services:
n8n: panda-n8n:
build: image: n8n.n8n
context: . container_name: panda-n8n
restart: unless-stopped
ports: ports:
- "5678:5678" - "5678:5678"
environment: environment:
- DB_TYPE=postgresdb - DB_TYPE=postgres
- DB_POSTGRESDB_HOST=postgres - DB_POSTGRES_HOST=panda-db
- DB_POSTGRESDB_PORT=5432 - DB_POSTGRES_PORT=5432
- DB_POSTGRESDB_DATABASE=${POSTGRES_DB} - DB_POSTGRES_DATABASE=${POSTGRES_DB}
- DB_POSTGRESDB_USER=${POSTGRES_USER} - DB_POSTGRES_USER=${POSTGRES_USER}
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD} - DB_POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- N8N_HOST=${N8N_HOST}
- N8N_PORT=5678
- N8N_PROTOCOL=http
- WEBHOOK_URL=${WEBHOOK_URL}
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
volumes: volumes:
- ./config/.gemini:/root/.gemini - n8n_data:/home/node/.n8n
- n8n_data:/data
depends_on: depends_on:
- postgres - panda-db
postgres: panda-db:
image: postgres:15 image: postgres:13
restart: always container_name: panda-db
restart: unless-stopped
environment: environment:
- POSTGRES_DB=${POSTGRES_DB} - POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER} - POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - db_data:/var/lib/postgresql/data
volumes: volumes:
n8n_data: n8n_data:
postgres_data: db_data: