chore(server): split gcloud sql proxy into a separate deployment (#5101)

After merge this pull request, need to change the `DATABASE_URL` in environment secrets (stable/beta) from `127.0.0.1` to `affine-cloud-sql-proxy`
This commit is contained in:
LongYinan
2023-12-15 13:28:12 +00:00
parent fc56a53acd
commit a3d4c5c709
17 changed files with 360 additions and 42 deletions
@@ -4,3 +4,8 @@ description: AFFiNE GraphQL server
type: application
version: 0.0.0
appVersion: "0.10.3-canary.2"
dependencies:
- name: gcloud-sql-proxy
version: 0.0.0
repository: "file://../gcloud-sql-proxy"
condition: .global.database.gcloud.enabled