new changes

This commit is contained in:
Niranjan
2026-04-07 20:57:48 +05:30
parent 0732a2eba6
commit 8e166c8bde
9 changed files with 136 additions and 20 deletions

View File

@@ -20,6 +20,8 @@ ensure_executable_scripts() {
chmod +x "${PROJECT_DIR}/scripts/install-ubuntu.sh"
chmod +x "${PROJECT_DIR}/scripts/bootstrap-dev.sh"
chmod +x "${PROJECT_DIR}/scripts/migrate-dev.sh"
chmod +x "${PROJECT_DIR}/scripts/ensure-env-ports.sh"
chmod +x "${PROJECT_DIR}/scripts/docker-compose.sh"
}
main() {
@@ -33,9 +35,13 @@ main() {
echo
echo "YakPanel installation completed."
echo "API health: http://localhost:8080/health"
echo "MinIO console: http://localhost:9001"
echo "NATS monitor: http://localhost:8222"
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 "MinIO console: http://localhost:$(dotenv_get MINIO_CONSOLE_PORT)"
echo "NATS monitor: http://localhost:$(dotenv_get NATS_MONITOR_PORT)"
echo "(All host ports are in .env; defaults avoid PostgreSQL/Redis on 5432/6379.)"
fi
}
main "$@"