Deployment
Docker
bash
docker build -t comet-engine .
docker run -d --name comet-engine -p 8100:8100 --env-file .env comet-engineDocker Compose
yaml
version: "3.8"
services:
comet-engine:
build: .
ports:
- "8100:8100"
env_file:
- .env
depends_on:
- mongo
restart: unless-stopped
mongo:
image: mongo:7
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
volumes:
mongo_data:bash
docker compose up -dProduction Checklist
- [ ]
WALLET_ENCRYPTION_KEYset and backed up securely - [ ]
CELO_RELAYER_PRIVATE_KEYhas sufficient CELO for gas - [ ]
SERVICE_TOKENSset to a strong random value - [ ] MongoDB has auth enabled
- [ ] Engine behind reverse proxy (not publicly exposed)
- [ ] Health check (
GET /health) monitored - [ ] Logs piped to centralized logging
Monitoring
bash
curl http://localhost:8100/healthjson
{
"status": "ok",
"service": "comet-engine",
"chains": ["celo"],
"time": "2026-08-30T20:00:00Z"
}