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>
38 lines
665 B
YAML
38 lines
665 B
YAML
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
|