feat: Introduce global configuration file config.env
This commit is contained in:
parent
8ebd247084
commit
d580c61515
1 changed files with 39 additions and 0 deletions
39
config.env
Normal file
39
config.env
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#!/usr/bin/env bash
|
||||
# =============================================================================
|
||||
# config.env
|
||||
# Single Source of Truth for the Knowledge Genome Framework.
|
||||
# =============================================================================
|
||||
|
||||
# --- PROVIDER SELECTION ---
|
||||
PROVIDER="forgejo" # Options: "forgejo", "github"
|
||||
|
||||
# --- FORGEJO CONFIGURATION ---
|
||||
FORGEJO_URL="https://git.keruhomelab.com"
|
||||
FORGEJO_USER="keru"
|
||||
# Note: FORGEJO_TOKEN must be exported in your shell for security.
|
||||
|
||||
# --- VAULTWARDEN CONFIGURATION ---
|
||||
# Used for rendering template instructions
|
||||
VAULTWARDEN_URL="https://vault.keruhomelab.com"
|
||||
|
||||
# --- MASTER REPOSITORY ---
|
||||
MASTER_REPO="master-knowledge-genome"
|
||||
GIST_URL="https://gist.github.com/442a6bf555914893e9891c11519de94f.git"
|
||||
|
||||
# --- GENOME REGISTRY ---
|
||||
# Format: "name|description"
|
||||
GENOMES=(
|
||||
"genome-dev|Web development, TUI, Angular, software architecture"
|
||||
"genome-finance|Personal finance, investments, market analysis"
|
||||
"genome-homelab|Keru infrastructure, network configs, architecture logs"
|
||||
)
|
||||
|
||||
# --- SYSTEM PATHS ---
|
||||
WORK_DIR="${HOME}/knowledge-genome-setup"
|
||||
KEYS_DIR="${WORK_DIR}/keys"
|
||||
|
||||
# Core directory resolution (DO NOT CHANGE)
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
TEMPLATES_DIR="${SCRIPT_DIR}/templates"
|
||||
LIB_DIR="${SCRIPT_DIR}/lib"
|
||||
PROVIDERS_DIR="${SCRIPT_DIR}/providers"
|
||||
Loading…
Add table
Reference in a new issue