⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(deploy): removing hardcord postgres ports-but really should be 5432 be default
justin71c9873d4c15
diff --git a/deploy/kaneo-entrypoint.sh b/deploy/kaneo-entrypoint.shindex 9e5ed40c9..6ca0fe049 100644--- a/deploy/kaneo-entrypoint.sh+++ b/deploy/kaneo-entrypoint.sh@@ -35,7 +35,7 @@ if [ -z "${DATABASE_URL:-}" ]; thenif [ -n "${POSTGRES_PASSWORD:-}" ]; thenencoded_user="$(urlencode "$POSTGRES_USER")"encoded_password="$(urlencode "$POSTGRES_PASSWORD")"- export DATABASE_URL="postgresql://${encoded_user}:${encoded_password}@postgres:5432/${POSTGRES_DB}"+ export DATABASE_URL="postgresql://${encoded_user}:${encoded_password}@${POSTGRES_HOST:-postgres}:${POSTGRES_PORT:-5432}/${POSTGRES_DB}"echo "DATABASE_URL not set — derived from POSTGRES_* vars"elseecho "ERROR: DATABASE_URL is not set and POSTGRES_PASSWORD is not set" >&2