-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (59 loc) · 1.16 KB
/
docker-compose.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
version: "3"
services:
node:
container_name: api
image: "node:14"
user: "node"
working_dir: /home/node/app
environment:
- NODE_ENV=production
volumes:
- ./:/home/node/app
ports:
- 3000:3000
command: "npm start"
networks:
- influxdb
depends_on:
- influx
- chronograph
influx:
image: influxdb:1.8-alpine
container_name: influx
ports:
- 8086:8086
networks:
- influxdb
volumes:
- $PWD:/var/lib/influxdb
hostname: influx
chronograph:
image: chronograf:1.8.4-alpine
container_name: chronograph
ports:
- 8888:8888
networks:
- influxdb
hostname: chronograph
volumes:
- $PWD:/var/lib/chronograf
command: --influxdb-url=http://influx:8086
depends_on:
- influx
kapacitor:
image: kapacitor:1.5.4-alpine
container_name: kapacitor
ports:
- 9092:9092
volumes:
- $PWD:/var/lib/kapacitor
networks:
- influxdb
hostname: kapacitor
environment:
- KAPACITOR_INFLUXDB_0_URLS_0=http://influx:8086
depends_on:
- influx
networks:
influxdb:
driver: bridge