Skip to content
Snippets Groups Projects
Commit 38050a40 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

try moving health check to compose

parent 01a422df
No related branches found
Tags end-of-sprint-28
2 merge requests!1452Merge 2.8.2 to main,!1396changes for local builds
Pipeline #10376 passed
......@@ -64,6 +64,12 @@ services:
published: 3457
protocol: tcp
mode: host
healthcheck:
test: ( curl -f -LI "${ENV_HOST}":3458/healthcheck ) && ( curl -f -LI "${ENV_HOST}":3456/healthcheck ) || exit 1
interval: 5s
retries: 5
timeout: 60s
start_period: 30s
environment:
CAPO_PATH: /home/casa/capo
CAPO_PROFILE: dsoc-${ENV}
......
......@@ -58,7 +58,9 @@ RUN poetry install
FROM base as prod
# Don't start until notification and workflow are ready
CMD sh ./bin/start-capability-with-healthchecks.sh
#CMD sh ./bin/start-capability-with-healthchecks.sh
CMD ["poetry", "run", "pserve", "--reload", "dev.ini"]
FROM base as dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment