-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
52 lines (52 loc) · 1.32 KB
/
docker-compose.yaml
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
version: "3"
services:
influxdb:
image: influxdb:1.8
container_name: influxdb
restart: always
ports:
- '8086:8086'
volumes:
- ./influxdb_data:/var/lib/influxdb
environment:
- INFLUXDB_DB=stream
- INFLUXDB_USER=chuck
- INFLUXDB_USER_PASSWORD=chuck
- INFLUXDB_ADMIN_ENABLED=true
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=toor
networks:
- microservice
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: rabbitmq
restart: always
ports:
- '5672:5672'
- '8081:15692'
- '15672:15672'
volumes:
- ./rabbitmq_data:/var/lib/rabbitmq
networks:
- microservice
grafana:
image: grafana/grafana
container_name: grafana
restart: always
ports:
- '3000:3000'
volumes:
- ./grafana_data:/var/lib/grafana
depends_on:
- influxdb
environment:
- GF_SECURITY_ADMIN_USER=grafana
- GF_SECURITY_ADMIN_PASSWORD=grafana
networks:
- microservice
volumes:
influxdb_data:
grafana_data:
rabbitmq_data:
networks:
microservice: