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
|
||||
|
||||
@@ -16,5 +16,5 @@ commonLabels:
|
||||
# 이미지 태그 설정 (ArgoCD Image Updater가 자동으로 업데이트)
|
||||
images:
|
||||
- name: gitea0213.kro.kr/bluemayne/mas
|
||||
newTag: main-sha-3e20b8ccdadf07c78a7c3e248a36dea26a25fd33
|
||||
newTag: main-sha-97fd7ddfc0276a0934666d6ea052922e12cdfa63
|
||||
|
||||
|
||||
Reference in New Issue
Block a user