Commit 4a6a7db0 authored by David Foucher's avatar David Foucher

rollback

parent 11b0155d
Pipeline #2299 failed with stage
in 1 minute and 25 seconds
......@@ -11,7 +11,7 @@ services:
- CATALOG_KEY=${CATALOG_KEY}
- CATALOG_URL=${CATALOG_URL}
healthcheck:
test: ["CMD", "/srv/healthcheck.sh"]
test: curl -sfS http://127.0.0.1:8000/schema || exit 1
interval: 5s
timeout: 3s
retries: 3
......@@ -30,7 +30,7 @@ services:
- GITLAB_TOKEN=${GITLAB_TOKEN}
- COMMIT_AUTHORIZED=${COMMIT_AUTHORIZED}
healthcheck:
test: ["CMD", "/srv/healthcheck.sh"]
test: curl -sfS http://127.0.0.1:8000/schema || exit 1
interval: 5s
timeout: 3s
retries: 3
......
......@@ -22,7 +22,6 @@ RUN apt-get update && apt-get -y install \
RUN mkdir -p ${TREFLE_LOG_DIR}
WORKDIR /srv
COPY trefle/etc/logrotate.d/gunicorn.logrotate /etc/logrotate.d/gunicorn
COPY trefle/healthcheck.sh ./healthcheck.sh
#deploy
COPY trefle/srv/gunicorn.conf.py ./gunicorn.conf.py
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment