-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrender.yaml
72 lines (72 loc) · 2.05 KB
/
render.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
- type: web
plan: starter
name: council-scraper-web
region: frankfurt
runtime: ruby
buildCommand: "WEB=1 ./bin/render-build.sh"
startCommand: "WEB=1 bundle exec puma -C config/puma.rb"
envVars:
- fromGroup: prod-settings
- key: REDIS_URL
fromService:
type: redis
name: council-scraper-redis
property: connectionString
- key: RAILS_MASTER_KEY
sync: false
- key: RAILS_ENV
value: production
- type: worker
plan: standard
name: council-scraper-sidekiq
region: frankfurt
runtime: ruby
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec sidekiq -C config/sidekiq.yml"
envVars:
- fromGroup: prod-settings
- key: REDIS_URL
fromService:
type: redis
name: council-scraper-redis
property: connectionString
- key: RAILS_MASTER_KEY
sync: false
- key: RAILS_ENV
value: production
- type: redis
name: council-scraper-redis
ipAllowList: []
region: frankfurt # optional (defaults to oregon)
plan: starter # optional (defaults to starter)
maxmemoryPolicy: volatile-lru # optional (defaults to allkeys-lru)
envVarGroups:
- name: prod-settings
envVars:
- key: AWS_OPENSEARCH_PREFIX
value: prod
- key: AWS_OPENSEARCH_REGION
value: eu-central-1
- key: AWS_OPENSEARCH_ACCESS_KEY_ID
sync: false
- key: AWS_OPENSEARCH_SECRET_KEY
sync: false
- key: AWS_OPENSEARCH_HOST
value: https://search-council-gateway-7d7lf7sktdklkart3q2zn4325i.eu-central-1.es.amazonaws.com
- key: DATABASE_URL
sync: false
- key: NEW_RELIC_LICENSE_KEY
sync: false
- key: NEW_RELIC_APP_NAME
value: council-scraper (prod)
- key: OPENAI_ACCESS_TOKEN
sync: false
- key: OPENAI_MODEL
sync: false
- key: RAILS_ENV
value: production
- key: RAILS_MASTER_KEY
sync: false
- key: SECRET_KEY_BASE
sync: false