-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrender.yaml
94 lines (87 loc) · 2.33 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#####
# Documentation
# Redwood: https://render.com/docs/deploy-redwood
# YAML (all config values): https://render.com/docs/yaml-spec
#####
services:
- name: redwoodjs-web
type: web
env: static
buildCommand: yarn && yarn workspaces foreach run build && yarn rw deploy render web
staticPublishPath: ./web/dist
envVars:
- key: NODE_VERSION
value: 18
- key: SKIP_INSTALL_DEPS
value: true
- key: SPLINE_PUZZLE_SLUG
value: the-society
- key: STATIC_FORMS_ACCESS_TOKEN
value: d9f1938d-722f-49fa-8bfb-c12ed7062922
- key: STATIC_FORMS_EMAIL
value: [email protected]
- key: WALLET_CONNECT_PROJECT_ID
value: 4c0830341026abc0916819b69728a141
- key: ALCHEMY_API
value: 2PgdlVzg4Sw0aqbuqmM16nteB51MBylq
routes:
- type: rewrite
source: /.redwood/functions/*
destination: https://api.infinitykeys.io/*
- type: rewrite
source: /*
destination: /index.html
- name: redwoodjs-api
type: web
env: node
region: oregon
buildCommand: yarn && yarn build && yarn rw build api
startCommand: yarn rw deploy render api
envVars:
- key: NODE_VERSION
value: 18
- key: DATABASE_URL
fromDatabase:
name: redwoodjs-db
property: connectionString
- name: discord-dust-game-bot-mongodb
type: pserv
env: docker
autoDeploy: false
disk:
name: data
mountPath: /data/db
sizeGB: 10
- name: discord-dust-game-bot
type: worker
env: node
region: oregon
rootDir: packages/discord-dust-game-bot
buildCommand: yarn && yarn build
startCommand: node ./dist
autoDeploy: true
envVars:
- key: NODE_VERSION
value: 18
- name: discord-passcode-bot
type: worker
env: node
region: oregon
rootDir: packages/discord-passcode-bot
buildCommand: yarn && yarn build
startCommand: node ./dist
autoDeploy: true
envVars:
- key: NODE_VERSION
value: 18
- type: cron
name: puzzle-cleanup
runtime: node
schedule: '0 * * * *'
buildCommand: yarn && yarn rw prisma generate
startCommand: yarn rw exec puzzleCleanup
repo: https://github.com/infinity-keys/ik-landing
databases:
- name: redwoodjs-db
region: oregon
postgresMajorVersion: 15