Files
onyx/deployment/docker_compose/docker-compose.dev.yml
T
acaprauandgreptile-apps[bot] 7d1b9e4356 chore(opensearch): Migration 2- Introduce external dependency tests (#8045)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-02 17:35:49 +00:00

55 lines
1.2 KiB
YAML

# Docker Compose Override for Development/Testing
# This file exposes service ports for development and testing purposes
#
# Usage:
# docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --wait
#
# Or set COMPOSE_FILE environment variable:
# export COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
# docker compose up -d --wait
services:
api_server:
ports:
- "8080:8080"
# Uncomment the block below to enable the MCP server for Onyx.
# mcp_server:
# ports:
# - "8090:8090"
relational_db:
ports:
- "5432:5432"
index:
ports:
- "19071:19071"
- "8081:8081"
healthcheck:
# We use 19071 because the application server at 8010 is not ready until
# it is activated/configured by the application.
test: ["CMD-SHELL", "curl -sf http://localhost:19071/state/v1/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
inference_model_server:
ports:
- "9000:9000"
cache:
ports:
- "6379:6379"
minio:
# use different ports to avoid conflicts with model servers
ports:
- "9004:9000"
- "9005:9001"
code-interpreter:
ports:
- "8000:8000"