change ports
This commit is contained in:
+3
-3
@@ -4,12 +4,12 @@ services:
|
||||
image: grafana/grafana:latest
|
||||
container_name: grafana
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9010"]
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3003"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
ports:
|
||||
- "9010:3000"
|
||||
- "3003:3000"
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=password # Change this in production
|
||||
@@ -62,7 +62,7 @@ services:
|
||||
image: prom/prometheus:latest
|
||||
container_name: prometheus
|
||||
ports:
|
||||
- "9040:9090"
|
||||
- "3004:9090"
|
||||
volumes:
|
||||
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- ./config/prometheus-alerts.yml:/etc/prometheus/alerts.yml
|
||||
|
||||
Reference in New Issue
Block a user