mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-15 08:27:42 +00:00
try fixing more
This commit is contained in:
parent
4ae02139e3
commit
32209d3fee
1 changed files with 163 additions and 163 deletions
46
render.yaml
46
render.yaml
|
@ -1,5 +1,5 @@
|
||||||
databases:
|
databases:
|
||||||
- name: srv.postgres
|
- name: srv.postgres
|
||||||
plan: pro
|
plan: pro
|
||||||
user: apollo
|
user: apollo
|
||||||
databaseName: apollo
|
databaseName: apollo
|
||||||
|
@ -7,15 +7,15 @@ databases:
|
||||||
ipAllowList: [] # only allow internal connections
|
ipAllowList: [] # only allow internal connections
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# Redis
|
# Redis
|
||||||
- type: redis
|
- type: redis
|
||||||
name: srv.redis
|
name: srv.redis
|
||||||
plan: pro
|
plan: pro
|
||||||
maxmemoryPolicy: noeviction
|
maxmemoryPolicy: noeviction
|
||||||
ipAllowList: [] # only allow internal connections
|
ipAllowList: [] # only allow internal connections
|
||||||
|
|
||||||
# PGBouncer
|
# PGBouncer
|
||||||
- type: worker
|
- type: worker
|
||||||
name: srv.pgbouncer
|
name: srv.pgbouncer
|
||||||
env: docker
|
env: docker
|
||||||
plan: standard
|
plan: standard
|
||||||
|
@ -40,8 +40,8 @@ services:
|
||||||
- key: SERVER_RESET_QUERY
|
- key: SERVER_RESET_QUERY
|
||||||
value: DISCARD ALL
|
value: DISCARD ALL
|
||||||
|
|
||||||
# StatsD
|
# StatsD
|
||||||
- type: worker
|
- type: worker
|
||||||
name: srv.statsd
|
name: srv.statsd
|
||||||
env: docker
|
env: docker
|
||||||
plan: standard
|
plan: standard
|
||||||
|
@ -54,8 +54,8 @@ services:
|
||||||
- key: DD_LOG_LEVEL
|
- key: DD_LOG_LEVEL
|
||||||
value: ERROR
|
value: ERROR
|
||||||
|
|
||||||
# API
|
# API
|
||||||
- type: web
|
- type: web
|
||||||
name: web.api
|
name: web.api
|
||||||
env: go
|
env: go
|
||||||
plan: standard
|
plan: standard
|
||||||
|
@ -70,8 +70,8 @@ services:
|
||||||
startCommand: panic-monitor ./apollo api
|
startCommand: panic-monitor ./apollo api
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
# Notifications
|
# Notifications
|
||||||
- type: worker
|
- type: worker
|
||||||
name: worker.notifications
|
name: worker.notifications
|
||||||
plan: starter plus
|
plan: starter plus
|
||||||
envVars:
|
envVars:
|
||||||
|
@ -84,8 +84,8 @@ services:
|
||||||
startCommand: panic-monitor ./apollo worker --queue notifications --multiplier 64
|
startCommand: panic-monitor ./apollo worker --queue notifications --multiplier 64
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
# Stuck Notifications Checker
|
# Stuck Notifications Checker
|
||||||
- type: worker
|
- type: worker
|
||||||
name: worker.notifications.stuck
|
name: worker.notifications.stuck
|
||||||
plan: starter plus
|
plan: starter plus
|
||||||
envVars:
|
envVars:
|
||||||
|
@ -98,8 +98,8 @@ services:
|
||||||
startCommand: panic-monitor ./apollo worker --queue stuck-notifications --multiplier 64
|
startCommand: panic-monitor ./apollo worker --queue stuck-notifications --multiplier 64
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
# Scheduler
|
# Scheduler
|
||||||
- type: worker
|
- type: worker
|
||||||
name: app.scheduler
|
name: app.scheduler
|
||||||
plan: starter
|
plan: starter
|
||||||
envVars:
|
envVars:
|
||||||
|
@ -108,8 +108,8 @@ services:
|
||||||
startCommand: panic-monitor ./apollo scheduler
|
startCommand: panic-monitor ./apollo scheduler
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
# User Watcher
|
# User Watcher
|
||||||
- type: worker
|
- type: worker
|
||||||
name: worker.watcher.users
|
name: worker.watcher.users
|
||||||
plan: starter
|
plan: starter
|
||||||
envVars:
|
envVars:
|
||||||
|
@ -118,8 +118,8 @@ services:
|
||||||
startCommand: panic-monitor ./apollo worker --queue users --multiplier 16
|
startCommand: panic-monitor ./apollo worker --queue users --multiplier 16
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
# Subreddit Watcher
|
# Subreddit Watcher
|
||||||
- type: worker
|
- type: worker
|
||||||
name: worker.watcher.subreddits
|
name: worker.watcher.subreddits
|
||||||
plan: starter plus
|
plan: starter plus
|
||||||
envVars:
|
envVars:
|
||||||
|
@ -132,8 +132,8 @@ services:
|
||||||
startCommand: panic-monitor ./apollo worker --queue subreddits --multiplier 64
|
startCommand: panic-monitor ./apollo worker --queue subreddits --multiplier 64
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
# Trending Posts Watcher
|
# Trending Posts Watcher
|
||||||
- type: worker
|
- type: worker
|
||||||
name: worker.watcher.trending
|
name: worker.watcher.trending
|
||||||
plan: starter plus
|
plan: starter plus
|
||||||
envVars:
|
envVars:
|
||||||
|
@ -147,8 +147,8 @@ services:
|
||||||
autoDeploy: false
|
autoDeploy: false
|
||||||
|
|
||||||
envVarGroups:
|
envVarGroups:
|
||||||
# Environmnet
|
# Environmnet
|
||||||
- name: env-settings
|
- name: env-settings
|
||||||
envVars:
|
envVars:
|
||||||
- key: APPLE_KEY_ID
|
- key: APPLE_KEY_ID
|
||||||
sync: false
|
sync: false
|
||||||
|
|
Loading…
Reference in a new issue