-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 907 Bytes
/
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
version: '3.8'
services:
influxDB:
image: influxdb:alpine
container_name: influxDB
restart: always
volumes:
- $PWD/.influxdb:/var/lib/influxdb
environment:
- INFLUXDB_DB=cryptos
- INFLUXDB_USER=crypto-observer
- INFLUXDB_USER_PASSWORD=crypto-observer
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
collector:
build:
context: .
dockerfile: Dockerfile
container_name: collector
restart: always
depends_on:
- influxDB
grafana:
image: grafana/grafana
container_name: grafana
restart: always
ports:
- 3000:3000
volumes:
- $PWD/.grafana:/var/lib/grafana
chronograf:
image: chronograf:alpine
container_name: chronograf
depends_on:
- influxDB
restart: always
ports:
- 8888:8888
environment:
- INFLUXDB_URL=http://influxDB:8086