forked from automatisch/automatisch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
113 lines (113 loc) · 2.95 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
services:
- type: web
name: automatisch-main
env: docker
dockerfilePath: ./docker/Dockerfile
dockerContext: .
repo: https://github.com/automatisch/automatisch
autoDeploy: false
envVars:
- key: HOST
fromService:
name: automatisch-main
type: web
envVarKey: RENDER_EXTERNAL_HOSTNAME
- key: POSTGRES_HOST
fromDatabase:
name: automatisch-database
property: host
- key: POSTGRES_PORT
fromDatabase:
name: automatisch-database
property: port
- key: POSTGRES_DATABASE
fromDatabase:
name: automatisch-database
property: database
- key: POSTGRES_USERNAME
fromDatabase:
name: automatisch-database
property: user
- key: POSTGRES_PASSWORD
fromDatabase:
name: automatisch-database
property: password
- key: REDIS_HOST
fromService:
type: redis
name: automatisch-redis
property: host
- key: REDIS_PORT
fromService:
type: redis
name: automatisch-redis
property: port
- fromGroup: common-env-vars
- type: worker
name: automatisch-worker
env: docker
dockerfilePath: ./docker/Dockerfile
dockerContext: .
repo: https://github.com/automatisch/automatisch
autoDeploy: false
envVars:
- key: WORKER
value: true
- key: HOST
fromService:
name: automatisch-main
type: web
envVarKey: RENDER_EXTERNAL_HOSTNAME
- key: POSTGRES_HOST
fromDatabase:
name: automatisch-database
property: host
- key: POSTGRES_PORT
fromDatabase:
name: automatisch-database
property: port
- key: POSTGRES_DATABASE
fromDatabase:
name: automatisch-database
property: database
- key: POSTGRES_USERNAME
fromDatabase:
name: automatisch-database
property: user
- key: POSTGRES_PASSWORD
fromDatabase:
name: automatisch-database
property: password
- key: REDIS_HOST
fromService:
type: redis
name: automatisch-redis
property: host
- key: REDIS_PORT
fromService:
type: redis
name: automatisch-redis
property: port
- fromGroup: common-env-vars
- type: redis
name: automatisch-redis
ipAllowList: [] # allow only internal connections
maxmemoryPolicy: noeviction
databases:
- name: automatisch-database
databaseName: automatisch
envVarGroups:
- name: common-env-vars
envVars:
- key: APP_ENV
value: production
- key: PROTOCOL
value: https
- key: PORT
value: 443
- key: ENCRYPTION_KEY
generateValue: true
- key: WEBHOOK_SECRET_KEY
generateValue: true
- key: APP_SECRET_KEY
generateValue: true