-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (38 loc) · 959 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: '2'
services:
rabbitmq:
image: rabbitmq:3.8
ports:
- '5672:5672'
- '15672:15672'
- '15692:15692'
volumes:
- ./docker/rabbitmq/plugins:/etc/rabbitmq/enabled_plugins
- ./docker/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
- rabbitmq-data:/var/lib/rabbitmq
influxdb:
image: influxdb:latest
ports:
- '8086:8086'
volumes:
- influxdb-storage:/var/lib/influxdb
environment:
- INFLUXDB_DB=carbon_intensity
- INFLUXDB_ADMIN_USER=influxdb
- INFLUXDB_ADMIN_PASSWORD=influxdb
chronograf:
image: chronograf:latest
ports:
- '127.0.0.1:8888:8888'
volumes:
- chronograf-storage:/var/lib/chronograf
depends_on:
- influxdb
environment:
- INFLUXDB_URL=http://influxdb:8086
- INFLUXDB_USERNAME=influxdb
- INFLUXDB_PASSWORD=influxdb
volumes:
rabbitmq-data: {}
influxdb-storage:
chronograf-storage: