forked from render-examples/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
67 lines (67 loc) · 2.21 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
databases:
- name: discourse-db
plan: starter
region: frankfurt
services:
- type: web
name: discourse-web
env: docker
plan: starter plus
dockerfilePath: ./web/v2.8.9/Dockerfile
dockerContext: ./web/v2.8.9
autoDeploy: false
healthCheckPath: /srv/status
region: frankfurt
disk:
name: discourse-data
mountPath: /var/www/discourse/public/uploads
sizeGB: 12
envVars:
- key: DISCOURSE_ADMIN_EMAIL
sync: false # initial admin email for setup; set to your personal email
- key: DISCOURSE_ADMIN_PASSWORD
generateValue: true # auto-generated to ensure length > 15
- key: DISCOURSE_SMTP_ADDRESS
sync: false # set to a valid SMTP server address in the dashboard
- key: DISCOURSE_SMTP_PORT
sync: false # set to a valid SMTP port in the dashboard
- key: DISCOURSE_SMTP_DOMAIN
sync: false # set to the domain passed to the SMTP server in the dashboard
- key: DISCOURSE_SMTP_USER_NAME
sync: false # set to the SMTP username in the dashboard
- key: DISCOURSE_SMTP_PASSWORD
sync: false # set to the SMTP server password in the dashboard
- key: CUSTOM_DOMAIN
sync: false # set this if you plan to use your own domain
- key: DISCOURSE_MAXMIND_LICENSE_KEY
sync: false # set this if you have a GeoLite/GeoIP license key
- key: DISCOURSE_DB_HOST
fromDatabase:
name: discourse-db
property: host
- key: DISCOURSE_DB_PORT
fromDatabase:
name: discourse-db
property: port
- key: DISCOURSE_DB_USERNAME
fromDatabase:
name: discourse-db
property: user
- key: DISCOURSE_DB_PASSWORD
fromDatabase:
name: discourse-db
property: password
- key: DISCOURSE_DB_NAME
fromDatabase:
name: discourse-db
property: database
- key: DISCOURSE_REDIS_HOST
value: localhost
- key: DISCOURSE_REDIS_PORT
value: 6379
- key: PORT
value: 80 # Do not edit! Discourse exposes this internally
- key: DISCOURSE_WEB_CONCURRENCY
value: 1
- key: DISCOURSE_WORKER_CONCURRENCY
value: 1