-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (44 loc) · 1.65 KB
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (44 loc) · 1.65 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
services:
ebeacon:
build: .
container_name: ebeacon
command: ["-config", "/app/ebeacon.yaml"]
environment:
- EBEACON_UI_SECRET=${EBEACON_UI_SECRET:?Copy .env.example to .env and set EBEACON_UI_SECRET}
volumes:
- ${EBEACON_CONFIG:-./ebeacon.local.yaml}:/app/ebeacon.yaml:ro
# Optional rotating debug log output when debugLogging.path points under /logs.
# Ensure the host directory is writable by the container's non-root user.
- ${EBEACON_LOG_DIR:-./logs}:/logs
ports:
- "127.0.0.1:5555:5555"
- "127.0.0.1:6060:6060"
restart: unless-stopped
prometheus:
image: prom/prometheus:v2.53.2
container_name: ebeacon-prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
ports:
- "127.0.0.1:19090:9090"
volumes:
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro
restart: unless-stopped
grafana:
image: grafana/grafana:11.1.4
container_name: ebeacon-grafana
depends_on:
- prometheus
ports:
- "127.0.0.1:13000:3000"
environment:
- GF_SECURITY_ADMIN_USER=${GF_SECURITY_ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD:?Copy .env.example to .env and set GF_SECURITY_ADMIN_PASSWORD}
- GF_USERS_ALLOW_SIGN_UP=false
volumes:
- ./monitoring/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources:ro
- ./monitoring/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards:ro
- ./monitoring/dashboards:/var/lib/grafana/dashboards:ro
restart: unless-stopped