mitai-jinkendo/backend
Lars 627eb8e265
Some checks failed
Deploy Development / deploy (push) Failing after 3s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 31s
fix: replace psql with Python for DB checks (no apt-get needed!)
- Remove postgresql-client installation (causes 150s+ hangs due to network)
- Add db_init.py: Pure Python PostgreSQL checks using psycopg2-binary
- Simplify startup.sh: Call Python script instead of psql commands
- Build should now complete in <30s instead of hanging

This fixes the deployment timeout issue by avoiding APT network problems entirely.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 10:01:19 +01:00
..
db_init.py fix: replace psql with Python for DB checks (no apt-get needed!) 2026-03-18 10:01:19 +01:00
db.py 9b 2026-03-18 08:27:33 +01:00
Dockerfile fix: replace psql with Python for DB checks (no apt-get needed!) 2026-03-18 10:01:19 +01:00
main.py 9b 2026-03-18 08:27:33 +01:00
migrate_to_postgres.py 9b 2026-03-18 08:27:33 +01:00
requirements.txt 9b 2026-03-18 08:27:33 +01:00
schema.sql 9b 2026-03-18 08:27:33 +01:00
startup.sh fix: replace psql with Python for DB checks (no apt-get needed!) 2026-03-18 10:01:19 +01:00