File size: 324 Bytes
ae9d2aa
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
services:
  ai-proxy:
    build: .
    ports:
      - "${PORT:-7860}:${PORT:-7860}"
    env_file:
      - .env
    restart: unless-stopped
    healthcheck:
      test: [ "CMD", "wget", "--spider", "-q", "http://localhost:${PORT:-7860}/health" ]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s