File size: 779 Bytes
d8ac98f
 
 
 
 
 
 
43e1802
d8ac98f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
29
30
31
32
33
34
version: '3.8'

services:
  demand-forecasting-agent:
    build: .
    container_name: autonomous-demand-forecasting
    ports:
      - "7860:7860"   # Streamlit UI (main application)
    environment:
      - PORT=7860
      - PYTHONPATH=/app
      - PYTHONUNBUFFERED=1
    volumes:
      - ./logs:/app/logs
      - ./data:/app/data
      - ./autonomous_demand_forecasting/database:/app/autonomous_demand_forecasting/database
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "python", "health_check.py"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 60s
    networks:
      - demand-forecasting-network

networks:
  demand-forecasting-network:
    driver: bridge

volumes:
  logs:
  data:
  database: