-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
49 lines (46 loc) · 1.2 KB
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
services:
quantumqueue:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
- "1883:1883"
environment:
RABBITMQ_DEFAULT_USER: scout
RABBITMQ_DEFAULT_PASS: passw0rd
influxdb:
image: influxdb:2.1
ports:
- "8086:8086"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: SuperSecretPa55
DOCKER_INFLUXDB_INIT_ORG: XenoTelemetry
DOCKER_INFLUXDB_INIT_BUCKET: telemetry
DOCKER_INFLUXDB_INIT_RETENTION: 7d
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: sk_xeno_admin_token
volumes:
- influxdb_data:/var/lib/influxdb2
xeno-bridge:
build:
context: .
dockerfile: ./EdgeGateway/Dockerfile
depends_on:
- quantumqueue
environment:
RABBITMQ_HOST: quantumqueue
RABBITMQ_USER: scout
RABBITMQ_PASS: passw0rd
telegraf:
image: telegraf:1.30
depends_on:
- quantumqueue
- influxdb
volumes:
- "./telegraf.conf:/etc/telegraf/telegraf.conf:ro"
ports:
- "8125:8125/udp"
volumes:
influxdb_data: