-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrender.yaml
131 lines (129 loc) · 3.91 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
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
databases:
- name: temporal-db
databaseName: temporal
user: temporal
plan: Starter
region: frankfurt
- name: temporal-db-visibility
databaseName: visibility
user: visibility
plan: Starter
region: frankfurt
services:
- type: pserv
name: temporal
autoDeploy: false
plan: Starter
region: frankfurt
env: docker
dockerfilePath: ./packages/temporal/Dockerfile.server.yaml
envVars:
- key: SERVICES
value: frontend,matching,history,worker
- key: DYNAMIC_CONFIG_FILE_PATH
value: /etc/temporal/dynamicconfig.yaml
- key: BIND_ON_IP
value: 0.0.0.0
- key: TEMPORAL_BROADCAST_ADDRESS
value: 0.0.0.0
- key: TEMPORAL_CLI_ADDRESS
value: localhost:7233
- key: SKIP_POSTGRES_DB_CREATION
value: true
- key: DB
value: postgresql
- key: DBNAME
fromDatabase:
name: temporal-db
property: database
- key: DB_PORT
fromDatabase:
name: temporal-db
property: port
- key: POSTGRES_USER
fromDatabase:
name: temporal-db
property: user
- key: POSTGRES_PWD
fromDatabase:
name: temporal-db
property: password
- key: POSTGRES_SEEDS
fromDatabase:
name: temporal-db
property: host
- key: VISIBILITY_DBNAME
fromDatabase:
name: temporal-db-visibility
property: database
- key: VISIBILITY_DB_PORT
fromDatabase:
name: temporal-db-visibility
property: port
- key: VISIBILITY_POSTGRES_USER
fromDatabase:
name: temporal-db-visibility
property: user
- key: VISIBILITY_POSTGRES_PWD
fromDatabase:
name: temporal-db-visibility
property: password
- key: VISIBILITY_POSTGRES_SEEDS
fromDatabase:
name: temporal-db-visibility
property: host
- type: web
name: api
plan: free
region: frankfurt
env: go
buildCommand: cd packages/temporal && go build -o bin_api api/*
startCommand: cd packages/temporal && ./bin_api
envVars:
- key: ADONIS_TEMPORAL_KEY
sync: false
- key: TEMPORAL_CLUSTER_HOST
fromService:
name: temporal
type: pserv
property: host
- fromGroup: 'Temporal services'
- type: worker
name: worker
plan: Starter
region: frankfurt
env: go
buildCommand: cd packages/temporal && go build -o bin_worker worker/*
startCommand: cd packages/temporal && ./bin_worker
envVars:
- key: TEMPORAL_CLUSTER_HOST
fromService:
name: temporal
type: pserv
property: host
- fromGroup: 'Temporal services'
- type: web
name: musicroom-client
env: static
buildCommand: yarn install --production=false && ( cd packages/types && yarn build:tsc ) && ( cd packages/client && yarn web:production:build )
staticPublishPath: ./packages/client/web-build
pullRequestPreviewsEnabled: false
routes:
- type: redirect
source: /*
destination: /
envVars:
- key: NODE_ENV
value: production
- key: SKIP_INSTALL_DEPS
value: true
- fromGroup: 'Client'
envVarGroups:
- name: 'Temporal services'
envVars:
- key: TEMPORAL_ADONIS_KEY
sync: false
- key: GOOGLE_API_KEY
sync: false
- key: ADONIS_ENDPOINT
sync: false