generated from cleancoindev/DevGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
57 lines (54 loc) · 1.26 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
services:
# A Docker web service
- type: web
name: hasura
env: docker
healthCheckPath: /healthz
numInstances: 1
dockerfilePath: ./hasura/Dockerfile
dockerContext: ./hasura
envVars:
- fromGroup: hasura-secrets
- key: HASURA_GRAPHQL_DATABASE_URL
fromDatabase:
name: metagame-db
property: connectionString
- key: BACKEND_HOST
fromService:
name: backend
type: pserv
property: hostport
- key: HASURA_GRAPHQL_SERVER_PORT
value: 10000
# backend
- type: pserv
name: backend
env: docker
numInstances: 1
dockerfilePath: ./docker/backend/Dockerfile
dockerContext: .
envVars:
- fromGroup: hasura-secrets
- key: IMGIX_TOKEN
sync: false
- key: GRAPHQL_HOST
fromService:
name: hasura
type: web
property: host
databases:
- name: metagame-db
plan: starter
envVarGroups:
- name: hasura-secrets
envVars:
- key: HASURA_GRAPHQL_ADMIN_SECRET
generateValue: true
- name: frontend
envVars:
- key: NEXT_PUBLIC_INFURA_ID
sync: false
- key: NEXT_PUBLIC_GRAPHQL_URL
sync: false
- key: NEXT_TELEMETRY_DISABLED
value: 1