Initial implementation of IRC LLM bot
Full implementation from spec: ZNC/IRC client with TLS, Ollama LLM backend, per-user SQLite conversation memory, and Flask web admin portal with 7 pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
37
docker-compose.yml
Normal file
37
docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
|
||||
irc-bot:
|
||||
build: .
|
||||
container_name: irc-bot
|
||||
restart: unless-stopped
|
||||
command: python -m bot.irc_client
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
- ./logs:/app/logs
|
||||
- ./data:/app/data
|
||||
networks:
|
||||
- botnet
|
||||
|
||||
portal:
|
||||
build: .
|
||||
container_name: irc-bot-portal
|
||||
restart: unless-stopped
|
||||
command: python -m portal.app
|
||||
env_file: .env
|
||||
ports:
|
||||
- "${PORTAL_PORT:-8080}:8080"
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
- ./logs:/app/logs
|
||||
- ./data:/app/data
|
||||
networks:
|
||||
- botnet
|
||||
depends_on:
|
||||
- irc-bot
|
||||
|
||||
networks:
|
||||
botnet:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user