File size: 430 Bytes
ba52031
 
 
 
2058884
ba52031
2058884
ba52031
 
 
 
2058884
ba52031
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3.8'

services:
  debug-env:
    build: .
    ports:
      - "8000:7860"
    environment:
      - PYTHONUNBUFFERED=1
      - LOG_LEVEL=info
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
      interval: 30s
      timeout: 3s
      retries: 3
      start_period: 5s
    restart: unless-stopped
    networks:
      - debug_env_network

networks:
  debug_env_network:
    driver: bridge