This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrender.yaml
72 lines (67 loc) · 1.66 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
#####
# Documentation
# YAML (all config values): https://render.com/docs/yaml-spec
#####
services:
- name: labelsync-api
type: web
env: node
region: frankfurt
buildCommand: yarn workspaces focus labelsync @labelsync/server
startCommand: yarn workspace @labelsync/server start
envVars:
- key: NODE_VERSION
value: 16
- key: DATABASE_URL
fromDatabase:
name: labelsync-db
property: connectionString
- key: REDIS_URL
fromService:
name: labelsync-redis
type: redis
property: connectionString
- fromGroup: labelsync-secrets
buildFilter:
paths:
- server/**/*
- packages/**/*
- package.json
ignoredPaths:
- '**/*.test.ts'
- name: labelsync-worker
type: worker
env: node
region: frankfurt
buildCommand: yarn workspaces focus labelsync @labelsync/sync
startCommand: yarn workspace @labelsync/sync start
envVars:
- key: NODE_VERSION
value: 16
- key: DATABASE_URL
fromDatabase:
name: labelsync-db
property: connectionString
- key: REDIS_URL
fromService:
name: labelsync-redis
type: redis
property: connectionString
- fromGroup: labelsync-secrets
buildFilter:
paths:
- workers/**/*
- packages/**/*
- package.json
ignoredPaths:
- '**/*.test.ts'
# Redis
- name: labelsync-redis
type: redis
region: frankfurt
ipAllowList: # required
- source: 0.0.0.0/0
description: everywhere
databases:
- name: labelsync-db
region: frankfurt