-
Notifications
You must be signed in to change notification settings - Fork 251
Expand file tree
/
Copy pathrender.yaml
More file actions
74 lines (70 loc) · 1.91 KB
/
render.yaml
File metadata and controls
74 lines (70 loc) · 1.91 KB
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
73
74
services:
- type: web
name: spree
runtime: ruby
plan: free
buildCommand: bundle install && bundle exec rails assets:precompile && bundle exec rails db:prepare
startCommand: bundle exec puma -C config/puma.rb
healthCheckPath: /up
envVars:
- key: DATABASE_URL
fromDatabase:
name: spree-db
property: connectionString
- key: REDIS_URL
fromService:
name: spree-redis
type: redis
property: connectionString
# - key: REDIS_CACHE_URL
# fromService:
# name: spree-redis-cache
# type: redis
# property: connectionString
- key: SECRET_KEY_BASE
generateValue: true
- key: RAILS_LOG_LEVEL
value: info
# uncomment to add background jobs, requires standard (paid) plan
# - type: worker
# name: spree-worker
# runtime: ruby
# plan: standard
# buildCommand: bundle install && bundle exec rails assets:precompile
# startCommand: bundle exec sidekiq
# envVars:
# - key: DATABASE_URL
# fromDatabase:
# name: spree-db
# property: connectionString
# - key: REDIS_URL
# fromService:
# name: spree-redis
# type: redis
# property: connectionString
# - key: SECRET_KEY_BASE
# fromService:
# name: spree
# type: web
# envVarKey: SECRET_KEY_BASE
# - key: SIDEKIQ_CONCURRENCY
# value: "25"
# - key: RAILS_MAX_THREADS
# value: "27"
- type: redis
name: spree-redis
plan: free
# maxmemoryPolicy: noeviction
ipAllowList: []
# uncomment to enable dedicated cache redis
# - type: redis
# name: spree-redis-cache
# plan: free
# maxmemoryPolicy: allkeys-lru
# ipAllowList: []
databases:
- name: spree-db
plan: free
databaseName: spree
postgresMajorVersion: "18"
ipAllowList: []