fetch_ml/deployments/docker-compose.local.yml
Jeremie Fraeys 4b8df60e83
deploy: clean up docker-compose configurations
Remove unnecessary service definitions and debug logging configuration
from docker-compose files across all deployment environments.
2026-02-23 18:04:09 -05:00

47 lines
1.3 KiB
YAML

---
# Docker Compose override for local testing with pre-built images
services:
api-server:
image: fetchml-api:latest
ports:
- "9101:9101"
volumes:
- ../data/dev/logs:/logs
- ../data/dev/experiments:/data/experiments
- ../data/dev/active:/data/active
- ../data/dev/workspaces:/data/active/workspaces:delegated
- ../configs/api/dev.yaml:/app/configs/api/dev.yaml
environment:
- LOG_LEVEL=info
depends_on:
redis:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9101/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
worker:
image: fetchml-worker:latest
privileged: true
ports:
- "8888:8888"
volumes:
- ../data/dev/logs:/logs
- ../data/dev/active:/data/active
- ../data/dev/experiments:/data/experiments
- ../data/dev/workspaces:/data/active/workspaces:delegated
- ../configs/workers/docker-dev.yaml:/app/configs/worker.yaml
- /sys/fs/cgroup:/sys/fs/cgroup:rw
environment:
- LOG_LEVEL=info
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin123
depends_on:
redis:
condition: service_healthy
api-server:
condition: service_healthy