/
localdev.json
65 lines (65 loc) · 1.44 KB
/
localdev.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
[
{
"Name": "Build-BE",
"Command": ["make", "-s", "bin/goalert", "BUILD_TAGS=sql_highlight"],
"Restart": true,
"Quiet": true,
"IgnoreErrors": true
},
{
"Name": "Backend",
"Before": {
"Name": "Wait JE",
"Command": ["bin/waitfor", "http://localhost:16686"]
},
"Command": [
"bin/goalert",
"-l=localhost:3030",
"--ui-url=http://localhost:3035",
"--jaeger-endpoint=http://localhost:14268",
"--db-url=postgres://goalert@localhost:5432/goalert?sslmode=disable"
],
"Restart": true,
"IgnoreErrors": true,
"Watch": true
},
{
"Name": "UI",
"Command": [
"./node_modules/.bin/webpack-dev-server",
"--inline",
"--devtool=inline-source-map",
"--allowed-hosts=docker.for.mac.host.internal",
"--port=3035",
"--progress=false",
"--mode=development"
],
"Dir": "web/src"
},
{
"Name": "Jaeger",
"Command": [
"docker",
"run",
"--rm",
"-p=6831:6831/udp",
"-p=6832:6832/udp",
"-p=5778:5778",
"-p=16686:16686",
"-p=14268:14268",
"-p=9411:9411",
"--name=jaeger",
"jaegertracing/all-in-one"
],
"Before": {
"Name": "JE Cleanup",
"Command": ["docker", "rm", "-f", "jaeger"],
"IgnoreErrors": true
},
"After": {
"Name": "JE Cleanup",
"Command": ["docker", "rm", "-f", "jaeger"],
"IgnoreErrors": true
}
}
]