-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.override.yml
66 lines (59 loc) · 1.27 KB
/
docker-compose.override.yml
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
version: '3.3'
services:
api:
build:
context: .
dockerfile: Dockerfile-api
command:
- "CompileDaemon"
- "-exclude-dir=.git"
- "-exclude-dir=node_modules"
- "-exclude-dir=web"
- "-graceful-kill=true"
- "-build=go build -o /go/bin/trimetric github.com/bsdavidson/trimetric/cmd/trimetric"
- "-command=/go/bin/trimetric --migrate=true --debug=true"
image: trimetric-api
ports:
- "9876:9876"
volumes:
- .:/go/src/github.com/bsdavidson/trimetric
working_dir: /go/src/github.com/bsdavidson/trimetric
chronograf:
image: chronograf:alpine
depends_on:
- influxdb
ports:
- "8888:8888"
volumes:
- chronograf:/var/lib/chronograf
command:
- "--influxdb-url=http://influxdb:8086"
influxdb:
ports:
- "8086:8086"
kafka:
ports:
- "9092:9092"
postgres:
ports:
- "5432:5432"
redis:
ports:
- "6379:6379"
web:
build:
context: .
dockerfile: Dockerfile-web
command: ["yarn", "run", "watch"]
depends_on:
- api
environment:
- NODE_ENV=development
image: trimetric-web
ports:
- "8080:8080"
volumes:
- ./web:/opt/trimetric/web
zookeeper:
ports:
- "2181:2181"