version: '3.8' services: app: build: . container_name: biz-insights-backend restart: unless-stopped ports: - "8000:8000" volumes: - .:/app - /app/logs environment: - PYTHONUNBUFFERED=1 - PYTHONPATH=/app - DEBUG=1 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/"] interval: 30s timeout: 10s retries: 3 start_period: 10s