FIX(db): fix DATABASE_URL for asyncpg

- asyncpg는 postgresql+asyncpg:// 형식을 지원하지 않음
- postgresql:// 또는 postgres:// 형식만 지원
- Chainlit이 PostgreSQL에 연결하지 못해 응답을 표시하지 못하는 문제 해결
This commit is contained in:
2025-12-24 14:48:36 +09:00
parent 8064d6443f
commit 9817e173eb
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ spec:
value: "postgresql://bluemayne:$(POSTGRES_PASSWORD)@postgresql-primary.postgresql.svc.cluster.local:5432/mas"
# SQLAlchemy format (if needed)
- name: DATABASE_URL
value: "postgresql+asyncpg://bluemayne:$(POSTGRES_PASSWORD)@postgresql-primary.postgresql.svc.cluster.local:5432/mas"
value: "postgresql://bluemayne:$(POSTGRES_PASSWORD)@postgresql-primary.postgresql.svc.cluster.local:5432/mas"
- name: POSTGRES_HOST
value: "postgresql-primary.postgresql.svc.cluster.local"
- name: POSTGRES_PORT