fix: change grafana port to 3030 (port 3000 already used by gitea on .47)

This commit is contained in:
Hermes Agent
2026-06-01 13:44:58 +02:00
parent b260475e24
commit 0d0075c302
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ services:
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
- "3030:3000"
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
+2 -2
View File
@@ -92,13 +92,13 @@ def test_dashboard_provisioning():
# Login to Grafana (default credentials)
session = requests.Session()
login_response = session.post("http://localhost:3000/login",
login_response = session.post("http://localhost:3030/login",
json={"user": "admin", "password": "admin"},
timeout=10)
assert login_response.status_code == 200, f"Grafana login failed: {login_response.status_code}"
# Check for dashboards
dashboards_response = session.get("http://localhost:3000/api/search?query=LLM", timeout=10)
dashboards_response = session.get("http://localhost:3030/api/search?query=LLM", timeout=10)
assert dashboards_response.status_code == 200, f"Dashboard search failed: {dashboards_response.status_code}"
dashboards = dashboards_response.json()