mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- Monitoring: Migrated from manual Grafana/Prometheus manifests to kube-prometheus-stack based setup in etc/init_monitoring.sh. Removed old manifest files from deploy/ and k8s/. - Installer Core: Refactored installer with new modules for actions, environment handling, and UI screens. Enhanced Milestone logic to support advanced configuration (ArgoCD, Registry namespaces, Kerberos flags, etc.). - Service & Init Scripts: Updated multiple initialization scripts (init_*.sh) for better integration with OpenBao, Kerberos, and the new monitoring stack. Added new scripts for Nginx Ingress, Ollama parsing, and K3D route fixes. - Infrastructure: Enhanced Samba AD DC Ansible role with realm derivation, provisioning guidance, and group management. Updated K3s role tasks. - Configuration: Refined default settings in conf/ to align with the new deployment architecture. - App & Tools: Updated prole-app Swift code and prole.sh for improved environment variable handling and installation flow.
30 lines
1.0 KiB
Bash
Executable File
30 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Prole environment configuration
|
|
# This file is generated by the installer. Source it in new shells, or execute as a wrapper:
|
|
# "$PROLE_HOME/env.sh" <command> [args…]
|
|
# shellcheck shell=bash
|
|
export PROLE_HOME="/Users/chrisfu/dev/prole"
|
|
export PROLE_CONF="/Users/chrisfu/dev/prole/conf"
|
|
export PROLE_DATA="/Users/chrisfu/.prole/data"
|
|
export PROLE_LOGS="/opt/prole/logs/chrisfu"
|
|
export PROLE_SERVICE="/Users/chrisfu/dev/prole/etc"
|
|
export NAMESPACE="prole-db-a0001"
|
|
|
|
# Ensure PATH works for GUI-launched shells (Docker, etc.)
|
|
_prole_add_path() { case ":${PATH}:" in *":$1:"*) ;; *) PATH="$1:${PATH:-}" ;; esac; }
|
|
_prole_add_path "$PROLE_HOME/bin"
|
|
_prole_add_path "/opt/homebrew/bin"
|
|
_prole_add_path "/usr/local/bin"
|
|
_prole_add_path "/usr/bin"
|
|
_prole_add_path "/bin"
|
|
_prole_add_path "/usr/sbin"
|
|
_prole_add_path "/sbin"
|
|
export PATH
|
|
|
|
# Add custom paths below if needed (examples):
|
|
|
|
# If executed with arguments (and not sourced), run them under this environment
|
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]] && [ "$#" -gt 0 ]; then
|
|
exec "$@"
|
|
fi
|