mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 14:25:28 +00:00
fix database connection pool url missing by default
This commit is contained in:
parent
d90fc98eb3
commit
7ffe9628ce
1 changed files with 28 additions and 2 deletions
30
render.yaml
30
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
|
||||
|
|
Loading…
Reference in a new issue