feat: APPS_DIR environment layer (Plan 14 step 2)
new-service/delete-service read and write $GITOPS_DIR/$APPS_DIR (default apps-homelab) instead of the literal apps/; FORGEJO_URL moves to git.holtlabs.xyz. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5b4987a371
commit
11c68770e1
5 changed files with 23 additions and 19 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Every file below must exist or the scripts refuse to run.
|
||||
HOMELAB_SECRETS=$HOME/Code/github.com/nholtware/homelab/.secrets
|
||||
|
||||
FORGEJO_URL=https://git.lab.holtlabs.xyz
|
||||
FORGEJO_URL=https://git.holtlabs.xyz
|
||||
FORGEJO_OWNER=nholtware
|
||||
FORGEJO_ADMIN_TOKEN_FILE=$HOMELAB_SECRETS/forgejo-admin-token # repo create/delete, Actions secrets, git push
|
||||
REGISTRY_PUSH_TOKEN_FILE=$HOMELAB_SECRETS/registry-push-token # becomes REGISTRY_TOKEN; also lists/deletes packages
|
||||
|
|
@ -11,6 +11,7 @@ GITOPS_TOKEN_FILE=$HOMELAB_SECRETS/ci-bot-gitops-token # becomes GITOPS
|
|||
GITOPS_DIR=$HOME/Code/forgejo.local/nholtware/gitops # clean clone of nholtware/gitops on main
|
||||
CODE_DIR=$HOME/Code/forgejo.local/nholtware # new service repos are cloned here
|
||||
KUBECONFIG=$HOME/.kube/homelab.yaml
|
||||
APPS_DIR=apps-homelab # gitops dir for this environment's Applications (Plan 14; apps-cloud for the cloud env)
|
||||
|
||||
INGRESS_DOMAIN=lab.holtlabs.xyz # services at https://<name>.$INGRESS_DOMAIN (renders __DOMAIN__)
|
||||
INGRESS_IP=192.168.1.83 # health checks use curl --resolve, no DNS needed (TLS still verified)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue