fix: secure deploy
This commit is contained in:
parent
87a97468c2
commit
c93c238be2
1 changed files with 6 additions and 8 deletions
|
|
@ -45,11 +45,10 @@ services:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD-SHELL
|
- CMD-SHELL
|
||||||
- "wget -q -O - http://localhost:3000/ | grep -q 'Sign in to your account' || exit 1"
|
- "wget -q -O - http://documenso:3000/ | grep -q 'Sign in to your account'"
|
||||||
interval: 10s
|
interval: 2s
|
||||||
timeout: 5s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 20
|
||||||
start_period: 40s
|
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
|
|
@ -146,7 +145,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- documenso_postgresql_data:/var/lib/postgresql/data
|
- documenso_postgresql_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-documenso} -d ${POSTGRES_DB:-documenso-db}"]
|
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||||
interval: 5s
|
timeout: 20s
|
||||||
timeout: 5s
|
|
||||||
retries: 10
|
retries: 10
|
||||||
Loading…
Reference in a new issue