mirror of
https://github.com/tiennm99/coolify.git
synced 2026-05-04 21:35:22 +00:00
fix: secure deploy
This commit is contained in:
@@ -45,11 +45,10 @@ services:
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "wget -q -O - http://localhost:3000/ | grep -q 'Sign in to your account' || exit 1"
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 40s
|
||||
- "wget -q -O - http://documenso:3000/ | grep -q 'Sign in to your account'"
|
||||
interval: 2s
|
||||
timeout: 10s
|
||||
retries: 20
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- -c
|
||||
@@ -146,7 +145,6 @@ services:
|
||||
volumes:
|
||||
- documenso_postgresql_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-documenso} -d ${POSTGRES_DB:-documenso-db}"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
Reference in New Issue
Block a user