-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.json
91 lines (91 loc) · 1.89 KB
/
app.json
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
{
"name": "community-engine",
"scripts": {
"dokku": {
"predeploy": "bundle install"
},
"postdeploy": "bundle exec rails db:seed"
},
"env": {
"LANG": {
"description": "Language environment variable",
"value": "en_US.UTF-8",
"required": true
},
"RACK_ENV": {
"description": "Rack environment",
"value": "production",
"required": true
},
"RAILS_ENV": {
"description": "Rails environment",
"value": "production",
"required": true
},
"RAILS_LOG_TO_STDOUT": {
"description": "Log to STDOUT",
"value": "true",
"required": true
},
"RAILS_SERVE_STATIC_FILES": {
"description": "Serve static files",
"value": "true",
"required": true
},
"SECRET_KEY_BASE": {
"description": "Secret key base",
"required": true
},
"DATABASE_URL": {
"description": "Database URL",
"required": true
},
"PUMA_WORKERS": {
"description": "Number of Puma workers",
"value": "2",
"required": false
},
"NODE_ENV": {
"description": "Node environment",
"value": "production",
"required": false
},
"SMTP_ADDRESS": {
"description": "SMTP server address",
"required": false
},
"SMTP_PORT": {
"description": "SMTP server port",
"value": "587",
"required": false
},
"SMTP_USERNAME": {
"description": "SMTP server username",
"required": false
},
"SMTP_PASSWORD": {
"description": "SMTP server password",
"required": false
}
},
"formation": {
"web": {
"quantity": 1
},
"worker": {
"quantity": 1
}
},
"healthchecks": {
"web": [
{
"type": "http",
"path": "/healthcheck",
"protocol": "HTTP",
"interval": 10,
"timeout": 5,
"max_attempts": 3
}
]
}
}