From 7ffe9628cefcdcdde71ec8105ea1722460c03d85 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sat, 21 May 2022 11:53:50 -0400 Subject: [PATCH] fix database connection pool url missing by default --- render.yaml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/render.yaml b/render.yaml index d82d343..7b09ae6 100644 --- a/render.yaml +++ b/render.yaml @@ -67,6 +67,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString scaling: minInstances: 1 maxInstances: 3 @@ -87,6 +91,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString scaling: minInstances: 1 maxInstances: 10 @@ -107,6 +115,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString scaling: minInstances: 1 maxInstances: 10 @@ -127,6 +139,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo startCommand: panic-monitor ./apollo scheduler autoDeploy: false @@ -143,6 +159,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo startCommand: panic-monitor ./apollo worker --queue users --multiplier 16 autoDeploy: false @@ -159,6 +179,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString scaling: minInstances: 1 maxInstances: 10 @@ -179,6 +203,10 @@ services: type: redis name: srv.redis property: connectionString + - key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten + fromDatabase: + name: apollo + property: connectionString scaling: minInstances: 1 maxInstances: 10 @@ -199,8 +227,6 @@ envVarGroups: sync: false - key: BUGSNAG_API_KEY sync: false - - key: DATABASE_CONNECTION_POOL_URL - sync: false # TODO - key: DD_API_KEY sync: false - key: ENV