name: apiserver services: api_server: build: context: ../ dockerfile: ./docker/Dockerfile target: runner container_name: api-server ports: - "8080:8080" restart: always healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/_health"] interval: 1m30s timeout: 10s retries: 3 start_period: 40s start_interval: 5s