version: '3.8'
services:
fund-mcp-server:
build: .
container_name: fund-mcp-server
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- PORT=3000
volumes:
- ./logs:/app/logs
- ./llm-config.env:/app/llm-config.env:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- fund-mcp-network
networks:
fund-mcp-network:
driver: bridge