File size: 631 Bytes
45e91a8
 
 
 
 
 
 
 
40b0e9f
45e91a8
40b0e9f
45e91a8
40b0e9f
45e91a8
 
 
 
 
 
 
 
 
 
 
 
 
40b0e9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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