forked from xxwhirlpool/spring
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
173 lines (161 loc) · 4.11 KB
/
Copy pathrender.yaml
File metadata and controls
173 lines (161 loc) · 4.11 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
services:
# === PRODUCTION ==============================
- type: web
name: nightspring
repo: https://github.com/nightspringer/NightSpring
runtime: docker
dockerfilePath: Containerfile
plan: starter
region: ohio
branch: main
healthCheckPath: /
buildFilter:
paths:
- "**/*"
envVars:
- key: RAILS_ENV
value: production
- key: NODE_ENV
value: production
- key: SECRET_KEY_BASE
generateValue: true
- key: DATABASE_URL
fromDatabase:
name: nightspring-db
property: connectionString
- key: REDIS_URL
fromService:
name: nightspring-redis
type: redis
property: connectionString
# Mailer
- key: SMTP_USERNAME
value: noreply@nightspring.net
- key: SMTP_PASSWORD
sync: false
- key: SMTP_FROM
value: "NightSpring <noreply@nightspring.net>"
- key: SMTP_REPLY_TO
value: contact@nightspring.net
- key: SMTP_RETURN_PATH
value: contact@nightspring.net
# Branding
- key: SITE_NAME
value: NightSpring
- key: APP_NAME
value: NightSpring
- key: APP_TITLE
value: NightSpring
- key: HOSTNAME
value: nightspring.net
- key: MAILER_HOST
value: nightspring.net
# Theming (Production)
- key: THEME_PRIMARY_COLOR
value: "#ec4899"
- key: THEME_ACCENT_COLOR
value: "#a855f7"
- key: THEME_BACKGROUND
value: "#ffffff"
- key: THEME_DARK_MODE
value: false
# Performance
- key: RAILS_LOG_TO_STDOUT
value: true
- key: RAILS_LOG_LEVEL
value: debug
- key: RAILS_SERVE_STATIC_FILES
value: true
- key: BUNDLE_DEPLOYMENT
value: true
- key: BUNDLE_WITHOUT
value: "development:test"
- key: WEB_CONCURRENCY
value: 1
- key: RAILS_MAX_THREADS
value: 2
- key: TZ
value: UTC
# === STAGING ==============================
- type: web
name: nightspring-staging
repo: https://github.com/nightspringer/NightSpring
runtime: docker
dockerfilePath: Containerfile
plan: starter
region: ohio
branch: staging
healthCheckPath: /
buildFilter:
paths:
- "**/*"
envVars:
- key: RAILS_ENV
value: staging
- key: NODE_ENV
value: production
- key: SECRET_KEY_BASE
generateValue: true
- key: DATABASE_URL
fromDatabase:
name: nightspring-db-staging
property: connectionString
- key: REDIS_URL
fromService:
name: nightspring-redis
type: redis
property: connectionString
# Mailer
- key: SMTP_USERNAME
value: noreply@nightspring.net
- key: SMTP_PASSWORD
sync: false
- key: MAILER_HOST
value: nightspring-staging.onrender.com
# Branding
- key: SITE_NAME
value: NightSpring (Staging)
- key: APP_NAME
value: NightSpring
- key: HOSTNAME
value: nightspring-staging.onrender.com
# Theming (Staging)
- key: THEME_PRIMARY_COLOR
value: "#eab308"
- key: THEME_ACCENT_COLOR
value: "#22d3ee"
- key: THEME_BACKGROUND
value: "#f0f0f0"
- key: THEME_DARK_MODE
value: true
# Performance
- key: RAILS_LOG_TO_STDOUT
value: true
- key: RAILS_LOG_LEVEL
value: debug
- key: RAILS_SERVE_STATIC_FILES
value: true
- key: BUNDLE_DEPLOYMENT
value: true
- key: BUNDLE_WITHOUT
value: "development:test"
- key: WEB_CONCURRENCY
value: 1
- key: RAILS_MAX_THREADS
value: 2
- key: TZ
value: UTC
# === SHARED REDIS ==============================
- type: redis
name: nightspring-redis
plan: free
region: ohio
ipAllowList:
- source: 0.0.0.0/0
description: allow all
# === DATABASES ==============================
databases:
- name: nightspring-db
region: ohio
- name: nightspring-db-staging
region: ohio