services: gitserver: build: context: . dockerfile: Dockerfile.gitserver healthcheck: test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost/terraform-aws-vpc-internal.git/info/refs').read()"] interval: 2s timeout: 5s retries: 10 start_period: 3s poc: build: context: . dockerfile: Dockerfile depends_on: gitserver: condition: service_healthy