There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: add explicit db name and user to pg_isready check
forehalo1514e1269d12
diff --git a/.github/deployment/self-host/compose.yaml b/.github/deployment/self-host/compose.yamlindex 60f49f6ab8..68f3c3f5e3 100644--- a/.github/deployment/self-host/compose.yaml+++ b/.github/deployment/self-host/compose.yaml@@ -59,7 +59,8 @@ services:# or you may add 'POSTGRES_HOST_AUTH_METHOD=trust' to ignore postgres security policyPOSTGRES_HOST_AUTH_METHOD: trusthealthcheck:- test: ['CMD-SHELL', 'pg_isready']+ test:+ ['CMD', 'pg_isready', '-U', "${DB_USERNAME}", '-d', "${DB_DATABASE:-affine}"]interval: 1mstart_interval: 10sstart_period: 1mdiff --git a/.prettierignore b/.prettierignoreindex 0c4099d55b..ccc0556999 100644--- a/.prettierignore+++ b/.prettierignore@@ -26,3 +26,4 @@ packages/frontend/templates/onboardingpackages/backend/native/index.d.tspackages/frontend/native/index.d.tspackages/frontend/native/index.js+compose.yaml\ No newline at end of file