19420cc01d
- Asana REST API client for task polling, section management, and commenting - Pi CLI executor for running tasks with specialist agent teams - Task loop: polls Asana To Do/Pi Worker sections, executes tasks, reports results - Improvement loop: rotates through 8 improvement categories (code quality, security, docs, testing, etc) - Health server on :8787 - File-based mutex locks with stale lock detection - Docker + docker-compose deployment config - deploy.sh for one-command deployment to cr-server-new via SSH/Incus
25 lines
413 B
YAML
25 lines
413 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
pi-worker:
|
|
build: .
|
|
container_name: pi-worker
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- "8787:8787"
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- pi-sessions:/app/sessions
|
|
environment:
|
|
- NODE_ENV=production
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2G
|
|
reservations:
|
|
memory: 512M
|
|
|
|
volumes:
|
|
pi-sessions:
|