Add unified n8n workflow, userbot ingestion script, and detailed README for running n8n with a separate Dockerized Telethon collector. Co-authored-by: Cursor <cursoragent@cursor.com>
41 lines
806 B
YAML
41 lines
806 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
n8n:
|
|
image: n8nio/n8n:latest
|
|
container_name: dbbot-n8n
|
|
ports:
|
|
- "5678:5678"
|
|
environment:
|
|
- N8N_HOST=localhost
|
|
- N8N_PORT=5678
|
|
- N8N_PROTOCOL=http
|
|
- WEBHOOK_URL=http://localhost:5678/
|
|
- GENERIC_TIMEZONE=Europe/Moscow
|
|
volumes:
|
|
- ./n8n_data:/home/node/.n8n
|
|
depends_on:
|
|
- qdrant
|
|
restart: unless-stopped
|
|
|
|
qdrant:
|
|
image: qdrant/qdrant:latest
|
|
container_name: dbbot-qdrant
|
|
ports:
|
|
- "6333:6333"
|
|
- "6334:6334"
|
|
volumes:
|
|
- ./qdrant_data:/qdrant/storage
|
|
restart: unless-stopped
|
|
|
|
tg-userbot:
|
|
build: .
|
|
container_name: dbbot-tg-userbot
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./session_data:/app/session
|
|
depends_on:
|
|
- n8n
|
|
restart: unless-stopped
|