-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 922 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 922 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
services:
simplesystemmonitoring-influxdb:
restart: always
image: influxdb:1.8
container_name: simplesystemmonitoring-influxdb
ports:
- "7975:8086"
volumes:
- ./data/influxdb-ssc/conf:/etc/influxdb
- ./data/influxdb-ssc/db:/var/lib/influxdb
environment:
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=password
- INFLUXDB_USER=ssc
- INFLUXDB_USER_PASSWORD=password
- INFLUXDB_DB=simplesystemmonitoring
simplesystemmonitoring-grafana:
restart: always
image: grafana/grafana:latest
container_name: simplesystemmonitoring-grafana
volumes:
- ./data/grafana/prov:/etc/grafana/provisioning
ports:
- "7974:3000"
environment:
- "GF_SERVER_ROOT_URL=http://localhost"
- "GF_SECURITY_ADMIN_PASSWORD=admin"
- "GF_AUTH_ANONYMOUS_ENABLED=true"
depends_on:
- simplesystemmonitoring-influxdb