mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
conf/service/prod.cfg: prole.org homelab overrides - SERVICE_HOST_DOMAIN=prole.org, DB_UI_HOST=db.prole.org - OIDC_ISSUER_URL=https://api.prole.org/auth - GOOGLE_WORKSPACE_DOMAIN=prole.org (credentials in OpenBao bao/kv/knoe/oauth2/google-prole-org) - kerberos_config: enabled, realm=PROLE.ORG, kdc=10.0.0.3 (myrddin.prole.org) - PROLE_KDC_TRUST_REALM=PROLE.ORG, SERVICE_INGRESS_TLS_ENABLED=1 conf/k3d.cfg: update local dev paths to ~/dev/prole; enable kerberos for dev env.sh: KNOE_HOME points to ~/dev/prole application-prole.yml: Spring profile with prole.org Google Workspace client binding These files are prole.org homelab specifics — do NOT merge upstream to knoe/main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
975 B
Bash
Executable File
29 lines
975 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Knoe environment configuration
|
|
# This file is generated by the installer. Source it in new shells, or execute as a wrapper:
|
|
# "$KNOE_HOME/env.sh" <command> [args…]
|
|
# shellcheck shell=bash
|
|
export KNOE_HOME="$HOME/dev/prole"
|
|
export KNOE_CONF="$HOME/dev/prole/conf"
|
|
export PROLE_DATA="$HOME/dev/prole/data"
|
|
export PROLE_LOGS="$HOME/dev/prole/logs"
|
|
export KNOE_SERVICE="$HOME/dev/prole/etc"
|
|
|
|
# Ensure PATH works for GUI-launched shells (Docker, etc.)
|
|
_knoe_add_path() { case ":${PATH}:" in *":$1:"*) ;; *) PATH="$1:${PATH:-}" ;; esac; }
|
|
_knoe_add_path "$KNOE_HOME/bin"
|
|
_knoe_add_path "/opt/homebrew/bin"
|
|
_knoe_add_path "/usr/local/bin"
|
|
_knoe_add_path "/usr/bin"
|
|
_knoe_add_path "/bin"
|
|
_knoe_add_path "/usr/sbin"
|
|
_knoe_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
|