Files
RedditBot/docker-compose.yml
T
jjbrunton 633bb0ec04 Restructure chat service, web routes, and add test suite
Split monolithic chat service into modular structure with Matrix client
support, extract web server into per-resource route modules, introduce
bootstrap/main-loop separation, and add comprehensive vitest coverage
across services, repositories, and utilities. Adds project docs and
CLAUDE.md agent instructions.
2026-05-21 01:32:10 +01:00

22 lines
670 B
YAML

version: '3.8'
services:
reddit-bot:
build: .
container_name: reddit-bot
restart: unless-stopped
# Mount the data directory to persist the database and browser session
volumes:
- ./data:/app/data
ports:
- "3000:3000" # Web dashboard
- "6080:6080" # noVNC for human login
environment:
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- REDDIT_USERNAME=${REDDIT_USERNAME}
- REDDIT_PASSWORD=${REDDIT_PASSWORD}
# Chromium runs headed under Xvfb so a human can complete login over noVNC.
- BROWSER_HEADLESS=false
# Required to lock down the VNC endpoint.
- VNC_PASSWORD=${VNC_PASSWORD}