customer-support-env / docker-compose.yml
mathi3046's picture
fix: align port to 7860 for HF Spaces and harden inference.py error handling
40b0e9f
raw
history blame contribute delete
631 Bytes
version: '3.8'
services:
# The Environment Server (HuggingFace Spaces compatible)
server:
build: .
image: openenv-scaler:latest
ports:
- "7860:7860"
environment:
- PORT=7860
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
interval: 5s
timeout: 3s
retries: 5
start_period: 2s
# Automated Verifier (Runs all checks and then exits)
verifier:
image: openenv-scaler:latest
depends_on:
server:
condition: service_healthy
command: ["bash", "/app/verify.sh"]
environment:
- ENV_BASE_URL=http://server:7860