version: "3.8" services: stockai2api: build: . container_name: stockai2api restart: unless-stopped ports: - "${PORT:-8267}:8267" env_file: - .env mem_limit: 256m cpus: 1.0 healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:8267/health"] interval: 30s timeout: 5s retries: 3