mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
Fix health error
This commit is contained in:
parent
91eac9d5cb
commit
d368395822
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue