fix: add explicit db name and user to pg_isready check
commit 783fd4d5f335a8921fe1617f46150471c7c1156b Author: forehalo <forehalo@gmail.com> Date: Mon Dec 9 20:55:43 2024 +0800 chore: fix lint error commit 0cf3740488aa76940c520c9d2dc4aa5aff9e39a6 Author: Charles SENGES <charles.senges.io+github@protonmail.com> Date: Sun Dec 8 01:05:36 2024 +0100 fix(compose.yaml): add explicit db name and user to pg_isready check
This commit is contained in:
3
.github/deployment/self-host/compose.yaml
vendored
3
.github/deployment/self-host/compose.yaml
vendored
@@ -59,7 +59,8 @@ services:
|
|||||||
# or you may add 'POSTGRES_HOST_AUTH_METHOD=trust' to ignore postgres security policy
|
# or you may add 'POSTGRES_HOST_AUTH_METHOD=trust' to ignore postgres security policy
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD-SHELL', 'pg_isready']
|
test:
|
||||||
|
['CMD', 'pg_isready', '-U', "${DB_USERNAME}", '-d', "${DB_DATABASE:-affine}"]
|
||||||
interval: 1m
|
interval: 1m
|
||||||
start_interval: 10s
|
start_interval: 10s
|
||||||
start_period: 1m
|
start_period: 1m
|
||||||
|
|||||||
@@ -26,3 +26,4 @@ packages/frontend/templates/onboarding
|
|||||||
packages/backend/native/index.d.ts
|
packages/backend/native/index.d.ts
|
||||||
packages/frontend/native/index.d.ts
|
packages/frontend/native/index.d.ts
|
||||||
packages/frontend/native/index.js
|
packages/frontend/native/index.js
|
||||||
|
compose.yaml
|
||||||
Reference in New Issue
Block a user