mirror of
https://github.com/katanemo/plano.git
synced 2026-05-08 23:32:43 +02:00
move grafana and prometheus to shared (#265)
This commit is contained in:
parent
5993e36f22
commit
31749bfc74
12 changed files with 36 additions and 681 deletions
|
|
@ -34,31 +34,11 @@ services:
|
|||
- ~/archgw_logs:/var/log/
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus
|
||||
container_name: prometheus
|
||||
command:
|
||||
- "--config.file=/etc/prometheus/prometheus.yaml"
|
||||
ports:
|
||||
- 9090:9090
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./prometheus:/etc/prometheus
|
||||
- ./prom_data:/prometheus
|
||||
# profiles:
|
||||
# - monitoring
|
||||
build:
|
||||
context: ../shared/prometheus
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
container_name: grafana
|
||||
build:
|
||||
context: ../shared/grafana
|
||||
ports:
|
||||
- 3000:3000
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=grafana
|
||||
volumes:
|
||||
- ./grafana:/etc/grafana/provisioning/datasources
|
||||
- ./grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/main.yaml
|
||||
- ./grafana/dashboards:/var/lib/grafana/dashboards
|
||||
# profiles:
|
||||
# - monitoring
|
||||
- "3000:3000"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue