forked from oetiker/SmokePing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (42 loc) · 1.09 KB
/
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
41
42
43
44
---
version: "1.0"
services:
smokeping:
build:
context: .
dockerfile: ./docker/Dockerfile
volumes:
- ./config/config:/usr/local/smokeping/etc/config
- ./config/smokeping.conf:/etc/apache2/conf-available/smokeping.conf
- ./data:/data
ports:
- 8080:80
restart: unless-stopped
depends_on:
- "influxdb"
- "grafana"
influxdb:
image: sjultra/influxdb-legacy:latest
environment:
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=password
- DB_NAME=smokeping
volumes:
- ./influxdb/data:/var/lib/influxdb2
- ./influxdb/config:/etc/influxdb2
ports:
- 8086:8086
restart: always
grafana:
image: grafana/grafana:10.1.2
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_AUTH_ANONYMOUS_ENABLED=true
volumes:
- ./helm/service/files/grafana/dashboards:/etc/grafana/provisioning/dashboards
- ./helm/service/files/grafana/datasources:/etc/grafana/provisioning/datasources
ports:
- 3000:3000
restart: always
depends_on:
- "influxdb"