-
Notifications
You must be signed in to change notification settings - Fork 2
/
render.yaml
51 lines (51 loc) · 1.49 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
services:
- type: web
name: jaredwhite2021
env: static
buildCommand: bin/bridgetown deploy
staticPublishPath: ./output
pullRequestPreviewsEnabled: true
envVars:
- key: BRIDGETOWN_ENV
value: production
- fromGroup: jaredwhite-prod-envs
routes:
- type: redirect
source: /page/*
destination: /posts/page/*
- type: redirect
source: /assets/*
destination: /images/archived/*
- type: redirect
source: /videos/
destination: /browse/videos/
- type: redirect
source: /subscribe
destination: /creator-class
- type: redirect
source: /tag/generativeAI/
destination: /tag/generativeai/
- type: rewrite
source: /toottown/*
destination: https://jaredwhite-site-api.onrender.com/toottown/*
- type: rewrite
source: /publisher_api/*
destination: https://jaredwhite-site-api.onrender.com/publisher_api/*
- type: redis
name: jaredwhite-redis
plan: free
ipAllowList: [] # only allow internal connections
- type: web
name: jaredwhite-site-api
env: ruby
buildCommand: bundle install && yarn install && bin/bridgetown frontend:build
startCommand: bin/bridgetown start
envVars:
- key: BRIDGETOWN_ENV
value: production
- key: REDIS_URL
fromService:
type: redis
name: jaredwhite-redis
property: connectionString
- fromGroup: jaredwhite-prod-envs