Compare commits
3 Commits
0fc4011e9a
...
cbc3947df0
| Author | SHA1 | Date | |
|---|---|---|---|
| cbc3947df0 | |||
| 7b5f382503 | |||
| 54bfe7bdc4 |
@@ -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_USER=n8n
|
||||
POSTGRES_PASSWORD=pandA6774
|
||||
|
||||
# Itt beállíthatsz egyedi időzónát az n8n számára, ha szükséges
|
||||
# GENERIC_TIMEZONE=Europe/Budapest
|
||||
POSTGRES_PASSWORD=pandA6774 # IMPORTANT: Use a strong, random password!
|
||||
@@ -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"]
|
||||
@@ -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
|
||||
@@ -1,32 +1,40 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
n8n:
|
||||
build:
|
||||
context: .
|
||||
panda-n8n:
|
||||
image: n8n.n8n
|
||||
container_name: panda-n8n
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5678:5678"
|
||||
environment:
|
||||
- DB_TYPE=postgresdb
|
||||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PORT=5432
|
||||
- DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
|
||||
- DB_POSTGRESDB_USER=${POSTGRES_USER}
|
||||
- DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- DB_TYPE=postgres
|
||||
- DB_POSTGRES_HOST=panda-db
|
||||
- DB_POSTGRES_PORT=5432
|
||||
- DB_POSTGRES_DATABASE=${POSTGRES_DB}
|
||||
- DB_POSTGRES_USER=${POSTGRES_USER}
|
||||
- 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:
|
||||
- ./config/.gemini:/root/.gemini
|
||||
- n8n_data:/data
|
||||
- n8n_data:/home/node/.n8n
|
||||
depends_on:
|
||||
- postgres
|
||||
- panda-db
|
||||
|
||||
postgres:
|
||||
image: postgres:15
|
||||
restart: always
|
||||
panda-db:
|
||||
image: postgres:13
|
||||
container_name: panda-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- db_data:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
postgres_data:
|
||||
db_data:
|
||||
Reference in New Issue
Block a user