Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite40c85b

Browse files
committed
Improve access information display and update Grafana credentials
1 parent642a923 commite40c85b

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ Fully automated setup with no interactive prompts.
9393

9494
After running quickstart:
9595

96-
-**Grafana**:http://localhost:3000 (admin/admin)
96+
-**🚀 MAIN: Grafana Dashboard**:http://localhost:3000 (demouser/demopwd)
97+
98+
Technical URLs (for advanced users):
9799
-**Demo DB**: postgresql://postgres:postgres@localhost:5432/target_database
98100
-**Monitoring**:http://localhost:8080 (PGWatch)
99101
-**Metrics**:http://localhost:9090 (Prometheus)

‎docker-compose.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ services:
9898
image:grafana/grafana:12.0.2
9999
container_name:grafana-with-datasources
100100
environment:
101-
GF_SECURITY_ADMIN_PASSWORD:admin
101+
GF_SECURITY_ADMIN_USER:demouser
102+
GF_SECURITY_ADMIN_PASSWORD:demopwd
102103
GF_INSTALL_PLUGINS:yesoreyeram-infinity-datasource
103104
ports:
104105
-"3000:3000"

‎postgres_ai‎

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,15 @@ show_help() {
140140
echo" target-db Demo PostgreSQL database (--demo mode only)"
141141
echo
142142
echo"ACCESS URLS:"
143-
echo" Grafana: http://localhost:3000 (admin/admin)"
144-
echo" PGWatch Postgres: http://localhost:8080"
145-
echo" PGWatch Prometheus: http://localhost:8089"
146-
echo" Prometheus: http://localhost:9090"
147-
echo" Flask API: http://localhost:5000"
148-
echo" Sink DB: postgresql://postgres:postgres@localhost:5433/postgres"
149-
echo" Demo DB: postgresql://postgres:postgres@localhost:5432/target_database (--demo mode only)"
143+
echo" 🚀 MAIN: Grafana Dashboard: http://localhost:3000 (demouser/demopwd)"
144+
echo""
145+
echo" Technical URLs (for advanced users):"
146+
echo" PGWatch Postgres: http://localhost:8080"
147+
echo" PGWatch Prometheus: http://localhost:8089"
148+
echo" Prometheus: http://localhost:9090"
149+
echo" Flask API: http://localhost:5000"
150+
echo" Sink DB: postgresql://postgres:postgres@localhost:5433/postgres"
151+
echo" Demo DB: postgresql://postgres:postgres@localhost:5432/target_database (--demo mode only)"
150152
}
151153

152154
# Check basic prerequisites (software installation)
@@ -1474,8 +1476,7 @@ open_shell() {
14741476
# Show access information
14751477
show_access_info() {
14761478
echo
1477-
log_info"Access URLs:"
1478-
echo" Grafana: http://localhost:3000 (admin/admin)"
1479+
log_info"Technical service URLs (for advanced users):"
14791480
echo" PGWatch Postgres: http://localhost:8080"
14801481
echo" PGWatch Prometheus: http://localhost:8089"
14811482
echo" Prometheus: http://localhost:9090"
@@ -1505,6 +1506,14 @@ show_access_info() {
15051506
log_info"Production mode - no demo database running"
15061507
log_info"Use '$0 list-instances' to see your configured PostgreSQL instances"
15071508
fi
1509+
1510+
# Highlight the main access point
1511+
echo
1512+
echo"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
1513+
echo -e"${GREEN}🚀 MAIN ACCESS POINT - Start here:${NC}"
1514+
echo -e"${GREEN} Grafana Dashboard: http://localhost:3000${NC}"
1515+
echo -e"${GREEN} Login: demouser / demopwd${NC}"
1516+
echo"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
15081517
}
15091518

15101519
# Main command handling

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp