agenthub/compose.dev.yml
Paperclip FoundingEngineer bdd5d92ba7 Initial AgentHub codebase for Coolify deployment
Complete implementation ready for Coolify:
- Node.js 22 + Fastify + socket.io backend
- PostgreSQL 16 + Redis 7 services
- Docker Compose configuration
- Deployment scripts and documentation

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-01 21:25:57 +00:00

52 lines
1.3 KiB
YAML

services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: agenthub-app-dev
environment:
DATABASE_URL: postgres://agenthub:agenthub@postgres:5432/agenthub
REDIS_URL: redis://redis:6379
JWT_SECRET: dev_secret_32_bytes_minimum_length_required
LOG_LEVEL: debug
PORT: 3000
ALLOWED_ORIGINS: http://localhost:3000,http://localhost:5173
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_started
ports:
- '3000:3000'
restart: unless-stopped
postgres:
image: postgres:16-alpine
container_name: agenthub-postgres-dev
environment:
POSTGRES_USER: agenthub
POSTGRES_PASSWORD: agenthub
POSTGRES_DB: agenthub
POSTGRES_INITDB_ARGS: '-E UTF8 --locale=en_US.UTF-8'
ports:
- '5432:5432'
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U agenthub']
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: agenthub-redis-dev
command: ['redis-server', '--save', '60', '100', '--appendonly', 'yes']
ports:
- '6379:6379'
volumes:
- redis-data:/data
volumes:
postgres-data:
redis-data: