more tweaks to infra

This commit is contained in:
Andre Medeiros 2022-05-21 13:21:24 -04:00
parent 08d0bc3b70
commit 65f8402d88

View file

@ -64,22 +64,6 @@ services:
- fromGroup: env-settings - fromGroup: env-settings
- key: BUGSNAG_APP_TYPE - key: BUGSNAG_APP_TYPE
value: api 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: scaling:
minInstances: 1 minInstances: 1
maxInstances: 3 maxInstances: 3
@ -98,22 +82,6 @@ services:
value: worker value: worker
- key: BUGSNAG_METADATA_QUEUE - key: BUGSNAG_METADATA_QUEUE
value: notifications 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: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -132,22 +100,6 @@ services:
value: worker value: worker
- key: BUGSNAG_METADATA_QUEUE - key: BUGSNAG_METADATA_QUEUE
value: stuck 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: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -164,22 +116,6 @@ services:
- fromGroup: env-settings - fromGroup: env-settings
- key: BUGSNAG_APP_TYPE - key: BUGSNAG_APP_TYPE
value: scheduler 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 buildCommand: go install github.com/bugsnag/panic-monitor@latest && go build ./cmd/apollo
startCommand: panic-monitor ./apollo scheduler startCommand: panic-monitor ./apollo scheduler
@ -194,22 +130,6 @@ services:
value: worker value: worker
- key: BUGSNAG_METADATA_QUEUE - key: BUGSNAG_METADATA_QUEUE
value: users 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 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
@ -224,22 +144,6 @@ services:
value: worker value: worker
- key: BUGSNAG_METADATA_QUEUE - key: BUGSNAG_METADATA_QUEUE
value: subreddits 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: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -258,22 +162,6 @@ services:
value: worker value: worker
- key: BUGSNAG_METADATA_QUEUE - key: BUGSNAG_METADATA_QUEUE
value: trending 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: scaling:
minInstances: 1 minInstances: 1
maxInstances: 10 maxInstances: 10
@ -303,4 +191,9 @@ envVarGroups:
sync: false sync: false
- key: STATSD_URL - key: STATSD_URL
sync: false 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