-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (34 loc) · 967 Bytes
/
docker-compose.yaml
File metadata and controls
37 lines (34 loc) · 967 Bytes
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
# Time-series infrastructure for M2 instrument monitoring.
#
# Start with: docker compose up -d
# Stop with: docker compose down
# View Grafana: http://localhost:3000 (admin/admin)
# View InfluxDB: http://localhost:8086
services:
influxdb:
image: influxdb:2
ports:
- "8086:8086"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: m2tracking
DOCKER_INFLUXDB_INIT_ORG: englund-lab
DOCKER_INFLUXDB_INIT_BUCKET: m2-tracking
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: m2-dev-token
volumes:
- influxdb-data:/var/lib/influxdb2
grafana:
image: grafana/grafana-oss
ports:
- "3000:3000"
environment:
GF_SECURITY_ADMIN_PASSWORD: admin
volumes:
- grafana-data:/var/lib/grafana
- ./config/grafana/provisioning:/etc/grafana/provisioning
depends_on:
- influxdb
volumes:
influxdb-data:
grafana-data: