google_api_gateway_test/api_server/docker/docker-compose.yaml

20 lines
403 B
YAML
Raw Permalink Normal View History

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