File size: 592 Bytes
c44fab6
 
 
 
e03c7d3
 
 
 
c44fab6
40dee71
 
 
c44fab6
 
0bb4dfa
 
c44fab6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
services:
  app:
    build: .
    ports:
      # Container always listens on 7860 (matches HuggingFace Space
      # app_port). Host port is overridable via CCAI_HOST_PORT in .env
      # or the environment so local devs can sidestep port conflicts.
      - "${CCAI_HOST_PORT:-7860}:7860"
    env_file:
      # Optional cross-project secrets file (set SHARED_ENV_FILE in shell).
      - path: ${SHARED_ENV_FILE}
        required: false
      - .env
    environment:
      CORS_ORIGINS: "http://localhost:7860,http://localhost:3000"
      HF_RATE_LIMIT_DAILY: "30"
    restart: unless-stopped