FIX(db): fix DATABASE_URL for asyncpg
- asyncpg는 postgresql+asyncpg:// 형식을 지원하지 않음 - postgresql:// 또는 postgres:// 형식만 지원 - Chainlit이 PostgreSQL에 연결하지 못해 응답을 표시하지 못하는 문제 해결
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user