From 19611bf3f3e11c36e796be78e71f2a16ca52f7ba Mon Sep 17 00:00:00 2001 From: Rub21 Date: Wed, 3 Jan 2024 12:53:29 -0500 Subject: [PATCH] Update overpas container --- images/overpass-api/Dockerfile | 2 +- osm-seed/templates/overpass-api/overpass-api-statefulset.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/images/overpass-api/Dockerfile b/images/overpass-api/Dockerfile index b2fa38e2..9528668b 100644 --- a/images/overpass-api/Dockerfile +++ b/images/overpass-api/Dockerfile @@ -1,4 +1,4 @@ FROM wiktorn/overpass-api:0.7.56.8 COPY docker-entrypoint.sh /app/ RUN chmod a+rx /app/docker-entrypoint.sh -CMD ["/app/docker-entrypoint.sh & sleep 60 && /app/bin/dispatcher --osm-base --db-dir=/db/db --attic"] +CMD ["/app/docker-entrypoint.sh"] diff --git a/osm-seed/templates/overpass-api/overpass-api-statefulset.yaml b/osm-seed/templates/overpass-api/overpass-api-statefulset.yaml index 0f5902e1..2853a238 100644 --- a/osm-seed/templates/overpass-api/overpass-api-statefulset.yaml +++ b/osm-seed/templates/overpass-api/overpass-api-statefulset.yaml @@ -26,6 +26,8 @@ spec: containers: - name: {{ .Chart.Name }}-overpass-api image: "{{ .Values.overpassApi.image.name }}:{{ .Values.overpassApi.image.tag }}" + command: ["/bin/sh", "-c"] + args: ["/app/docker-entrypoint.sh && sleep 60 && /app/bin/dispatcher --osm-base --db-dir=/db/db --attic"] ports: - name: http containerPort: 80