Files
OpenShell/.env.example

29 lines
1.1 KiB
Bash

# OpenShell local development environment
# Copy to .env and customise. Mise loads .env automatically.
#
# Use unique CLUSTER_NAME/GATEWAY_PORT values per worktree to run
# multiple clusters simultaneously; `mise run cluster` will recreate as needed.
# ---------- Cluster identity ----------
# Name used for the Docker container, k3s volume, TLS secrets, and the
# openshell CLI's active-cluster bookmark. Defaults to the repo directory
# basename (e.g. "openshell-c").
#CLUSTER_NAME=openshell-c
# Default gateway name used by `openshell` commands in this repo when `--gateway`
# is not provided. Usually matches CLUSTER_NAME.
#OPENSHELL_GATEWAY=openshell-c
# ---------- Ports ----------
# Host port mapped to the k3s NodePort (30051) where the OpenShell gateway
# listens. The CLI connects here. Must be unique per cluster.
#GATEWAY_PORT=8080
# Expose the Kubernetes control plane on this host port (maps to 6443
# inside the container). Leave unset to skip the binding — this is the
# default and allows multiple clusters to coexist without port conflicts.
# Set this only when you need direct kubectl access to the cluster.
#KUBE_PORT=6443