new changes
This commit is contained in:
@@ -37,9 +37,12 @@ main() {
|
||||
echo "YakPanel installation completed."
|
||||
dotenv_get() { grep -E "^${1}=" "${PROJECT_DIR}/.env" 2>/dev/null | tail -1 | cut -d= -f2- | tr -d '\r'; }
|
||||
if [[ -f "${PROJECT_DIR}/.env" ]]; then
|
||||
echo "API health: http://localhost:$(dotenv_get API_PORT)/health"
|
||||
echo "Web control panel: http://localhost:$(dotenv_get PANEL_UI_PORT)/ (admin / admin)"
|
||||
echo "API health (scaffold): http://localhost:$(dotenv_get API_PORT)/health"
|
||||
echo "MinIO console: http://localhost:$(dotenv_get MINIO_CONSOLE_PORT)"
|
||||
echo "NATS monitor: http://localhost:$(dotenv_get NATS_MONITOR_PORT)"
|
||||
echo "Prometheus: http://localhost:$(dotenv_get PROMETHEUS_PORT)"
|
||||
echo "Grafana: http://localhost:$(dotenv_get GRAFANA_PORT)"
|
||||
echo "(All host ports are in .env; defaults avoid PostgreSQL/Redis on 5432/6379.)"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user