Repository navigation
Expand file tree
/
Copy pathstart.json
More file actions
86 lines (84 loc) · 2.96 KB
/
Copy pathstart.json
File metadata and controls
86 lines (84 loc) · 2.96 KB
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
{
"id": "/funcatron",
"apps": [
{
"id": "/funcatron/rabbit",
"cpus": 0.5,
"mem": 256.0,
"container": {
"type": "DOCKER",
"docker": {
"image": "byteflair/rabbitmq-stomp",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 61613, "name": "stomp", "hostPort": 0},
{ "containerPort": 5672, "name": "rabbit", "hostPort": 0},
{ "containerPort": 15672, "name": "rabbitadm", "hostPort": 0}
]
}
}
},
{
"id": "/funcatron/tron",
"cpus": 2.0,
"mem": 2048,
"container": {
"type": "DOCKER",
"docker": {
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 3000, "name": "http",
"hostPort": 0, "protocol": "tcp" },
{ "containerPort": 54657, "name": "devshim",
"hostPort": 0, "protocol": "tcp" }],
"parameters": [
{ "key": "env", "value": "TRON_1=--tron" }
],
"image": "funcatron/wip-docker"
}
},
"dependencies": ["/funcatron/rabbit"]
},
{
"id": "/funcatron/frontend",
"cpus": 0.4,
"mem": 256,
"acceptedResourceRoles": ["slave_public"],
"container": {
"type": "DOCKER",
"docker": {
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 80, "name": "http", "hostPort": 0}
],
"image": "funcatron/frontend:latest"
}
},
"dependencies": ["/funcatron/rabbit", "/funcatron/tron"]
},
{
"id": "/funcatron/runner",
"cpus": 2.0,
"mem": 2048,
"container": {
"type": "DOCKER",
"docker": {
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 3000, "name": "http",
"hostPort": 0, "protocol": "tcp" },
{ "containerPort": 54657, "name": "devshim",
"hostPort": 0, "protocol": "tcp" }],
"parameters": [
{ "key": "env", "value": "TRON_1=--runner" }
],
"image": "funcatron/wip-docker"
}
},
"dependencies": ["/funcatron/rabbit", "/funcatron/tron"]
}
]
}