mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 16:07:42 +00:00
fix statsd
This commit is contained in:
parent
499a30b4f0
commit
e90f6ef834
1 changed files with 35 additions and 0 deletions
35
render.yaml
35
render.yaml
|
@ -73,6 +73,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
fromService:
|
||||||
|
type: pserv
|
||||||
|
name: srv.statsd
|
||||||
|
property: hostport
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 3
|
maxInstances: 3
|
||||||
|
@ -101,6 +106,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
fromService:
|
||||||
|
type: pserv
|
||||||
|
name: srv.statsd
|
||||||
|
property: hostport
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
|
@ -129,6 +139,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
fromService:
|
||||||
|
type: pserv
|
||||||
|
name: srv.statsd
|
||||||
|
property: hostport
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
|
@ -155,6 +170,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
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
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
@ -179,6 +199,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
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
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
@ -203,6 +228,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
fromService:
|
||||||
|
type: pserv
|
||||||
|
name: srv.statsd
|
||||||
|
property: hostport
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
|
@ -231,6 +261,11 @@ services:
|
||||||
fromDatabase:
|
fromDatabase:
|
||||||
name: srv.postgres
|
name: srv.postgres
|
||||||
property: connectionString
|
property: connectionString
|
||||||
|
- key: STATSD_URL
|
||||||
|
fromService:
|
||||||
|
type: pserv
|
||||||
|
name: srv.statsd
|
||||||
|
property: hostport
|
||||||
scaling:
|
scaling:
|
||||||
minInstances: 1
|
minInstances: 1
|
||||||
maxInstances: 10
|
maxInstances: 10
|
||||||
|
|
Loading…
Reference in a new issue