name: eggent services: app: build: context: . dockerfile: Dockerfile image: eggent:local restart: unless-stopped init: true env_file: - .env environment: NODE_ENV: production NEXT_TELEMETRY_DISABLED: "1" HOSTNAME: 0.0.0.0 PORT: "3000" ports: - "${APP_BIND_HOST:-127.0.0.1}:${APP_PORT:-3000}:3000" volumes: - ./data:/app/data tmpfs: - /tmp:rw,noexec,nosuid,size=64m healthcheck: test: [ "CMD", "node", "-e", "fetch('http://127.0.0.1:3000/api/health').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))", ] interval: 10s timeout: 5s retries: 10 start_period: 20s