-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwww.json
46 lines (45 loc) · 1010 Bytes
/
www.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
{
"type": "service",
"name": "www",
"description": "Webserver for public web app.",
"secrets": {
"mongodb-uri": {}
},
"components": [
{
"name": "www",
"ports": [
{
"name": "http",
"port": 3000,
"protocol": "HTTP",
"external_access": {
"public": true
}
}
],
"build": {
"git_repository": {
"url": "https://github.com/doug-ol/coinfolio.git",
"commit": "aed974fbac9faedc3fe0e5f6b7454078b9f38cf7"
},
"language": "ruby:2.4.0",
"command": "apt update && apt-get install -y nodejs && bundle install"
},
"exec": {
"command": [
"rails",
"s"
],
"environment": {
"MONGOLAB_URI": { "secret": "mongodb-uri" },
"REDIS_PROVIDER": "redis://redis.coinfolio.local:6379"
}
}
}
],
"resources": {
"num_instances": 1,
"instance_type": "t2.small"
}
}