generated from holaplex/hub-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
52 lines (50 loc) · 1.37 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
services:
- type: cron
name: run-airdrop-script
env: node
numInstances: 1
schedule: "*/3 * * * *"
startCommand: "curl -sSLo airdrop https://github.com/holaplex/hub-starter-subscription-airdrops/releases/download/1.0/airdrop-linux-amd64 && chmod +x ./airdrop && RUST_LOG=info ./airdrop"
envVars:
- fromGroup: airdrop-env
- key: DATABASE_URL
fromDatabase:
name: hub-starter-template
property: connectionString
- type: web
name: hub-starter-template
env: node
numInstances: 1
buildCommand: npm install; npm run build
startCommand: npm run start
envVars:
- fromGroup: airdrop-env
- key: DATABASE_URL
fromDatabase:
name: hub-starter-template
property: connectionString
autoDeploy: true
databases:
- name: hub-starter-template
ipAllowList: []
envVarGroups:
- name: airdrop-env
envVars:
- key: GOOGLE_CLIENT_ID
sync: false
- key: GOOGLE_CLIENT_SECRET
sync: false
- key: HOLAPLEX_AUTH_TOKEN
sync: false
- key: HOLAPLEX_PROJECT_ID
sync: false
- key: HOLAPLEX_DROP_ID
sync: false
- key: NEXTAUTH_URL
sync: false
- key: NEXTAUTH_SECRET
generateValue: true
- key: HOLAPLEX_WALLET_ASSET_TYPE
value: SOL
- key: HOLAPLEX_API_ENDPOINT
value: https://api.holaplex.com/graphql