Fix health error

This commit is contained in:
zandercymatics 2023-09-21 16:11:10 -06:00
parent 91eac9d5cb
commit d368395822
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 4 additions and 2 deletions

View file

@ -89,7 +89,8 @@ cd src/
./build.sh ./build.sh
cd .. cd ..
cf push getgov-$1 -f ops/manifests/manifest-$1.yaml cf push getgov-$1 -f ops/manifests/manifest-$1.yaml
cf set-health-check getgov-$1 http --invocation-timeout 40
cf restage getgov-$1 --strategy rolling
read -p "Please provide the email of the space developer: " -r read -p "Please provide the email of the space developer: " -r
cf set-space-role $REPLY cisa-dotgov $1 SpaceDeveloper cf set-space-role $REPLY cisa-dotgov $1 SpaceDeveloper

View file

@ -7,10 +7,11 @@ applications:
instances: 1 instances: 1
memory: 512M memory: 512M
stack: cflinuxfs4 stack: cflinuxfs4
timeout: 280 timeout: 180
command: ./run.sh command: ./run.sh
health-check-type: http health-check-type: http
health-check-http-endpoint: /health health-check-http-endpoint: /health
health-check-invocation-timeout: 30
env: env:
# Send stdout and stderr straight to the terminal without buffering # Send stdout and stderr straight to the terminal without buffering
PYTHONUNBUFFERED: yup PYTHONUNBUFFERED: yup