fix database connection pool url missing by default

This commit is contained in:
Andre Medeiros 2022-05-21 11:53:50 -04:00
parent d90fc98eb3
commit 7ffe9628ce

View file

@ -67,6 +67,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString property: connectionString
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
fromDatabase:
name: apollo
property: connectionString
scaling: scaling:
minInstances: 1 minInstances: 1
maxInstances: 3 maxInstances: 3
@ -87,6 +91,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString property: connectionString
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
fromDatabase:
name: apollo
property: connectionString
scaling: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -107,6 +115,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString property: connectionString
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
fromDatabase:
name: apollo
property: connectionString
scaling: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -127,6 +139,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString 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 buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
startCommand: panic-monitor ./apollo scheduler startCommand: panic-monitor ./apollo scheduler
autoDeploy: false autoDeploy: false
@ -143,6 +159,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString 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 buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
startCommand: panic-monitor ./apollo worker --queue users --multiplier 16 startCommand: panic-monitor ./apollo worker --queue users --multiplier 16
autoDeploy: false autoDeploy: false
@ -159,6 +179,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString property: connectionString
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
fromDatabase:
name: apollo
property: connectionString
scaling: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -179,6 +203,10 @@ services:
type: redis type: redis
name: srv.redis name: srv.redis
property: connectionString property: connectionString
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
fromDatabase:
name: apollo
property: connectionString
scaling: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -199,8 +227,6 @@ envVarGroups:
sync: false sync: false
- key: BUGSNAG_API_KEY - key: BUGSNAG_API_KEY
sync: false sync: false
- key: DATABASE_CONNECTION_POOL_URL
sync: false # TODO
- key: DD_API_KEY - key: DD_API_KEY
sync: false sync: false
- key: ENV - key: ENV