mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 14:25:28 +00:00
more tweaks to infra
This commit is contained in:
parent
08d0bc3b70
commit
65f8402d88
1 changed files with 6 additions and 113 deletions
119
render.yaml
119
render.yaml
|
@ -64,22 +64,6 @@ services:
|
|||
- fromGroup: env-settings
|
||||
- key: BUGSNAG_APP_TYPE
|
||||
value: api
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 3
|
||||
|
@ -98,22 +82,6 @@ services:
|
|||
value: worker
|
||||
- key: BUGSNAG_METADATA_QUEUE
|
||||
value: notifications
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
|
@ -132,22 +100,6 @@ services:
|
|||
value: worker
|
||||
- key: BUGSNAG_METADATA_QUEUE
|
||||
value: stuck
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
|
@ -164,22 +116,6 @@ services:
|
|||
- fromGroup: env-settings
|
||||
- key: BUGSNAG_APP_TYPE
|
||||
value: scheduler
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo scheduler
|
||||
|
||||
|
@ -194,22 +130,6 @@ services:
|
|||
value: worker
|
||||
- key: BUGSNAG_METADATA_QUEUE
|
||||
value: users
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
|
||||
startCommand: panic-monitor ./apollo worker --queue users --multiplier 16
|
||||
|
||||
|
@ -224,22 +144,6 @@ services:
|
|||
value: worker
|
||||
- key: BUGSNAG_METADATA_QUEUE
|
||||
value: subreddits
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
|
@ -258,22 +162,6 @@ services:
|
|||
value: worker
|
||||
- key: BUGSNAG_METADATA_QUEUE
|
||||
value: trending
|
||||
- key: REDIS_URL
|
||||
fromService:
|
||||
type: redis
|
||||
name: srv.redis
|
||||
property: connectionString
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
fromDatabase:
|
||||
name: srv.postgres
|
||||
property: connectionString
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
fromService:
|
||||
type: pserv
|
||||
name: srv.statsd
|
||||
property: hostport
|
||||
scaling:
|
||||
minInstances: 1
|
||||
maxInstances: 10
|
||||
|
@ -303,4 +191,9 @@ envVarGroups:
|
|||
sync: false
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
|
||||
- key: DATABASE_CONNECTION_POOL_URL # This is temporary and should be overwritten
|
||||
sync: false
|
||||
- key: STATSD_URL
|
||||
sync: false
|
||||
- key: REDIS_URL
|
||||
sync: false
|
||||
|
|
Loading…
Reference in a new issue