adaptive_demand_forecating_agent / docker-compose.yml
VAH6002's picture
Upload 18 files
43e1802 verified
Raw History Blame Contribute Delete
779 Bytes
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: