version: '3.8' services: aefrs: build: . container_name: aefrs-ultimate ports: - "7860:7860" volumes: - ./database:/app/database - ./models:/app/models - ./logs:/app/logs environment: - ENVIRONMENT=production - LOG_LEVEL=INFO restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:7860/healthz"] interval: 30s timeout: 10s retries: 3