Support developer-specific env vars in sandbox provisioning
Source a gitignored .sandbox.env file (if present) before running probod-bootstrap so each developer can inject their own secrets (SSO, API keys, etc.) without committing them to the repo. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -100,6 +100,13 @@ su - "${LIMA_USER}" -c "export PATH=/usr/local/go/bin:\$HOME/go/bin:\$PATH && cd
|
||||
|
||||
mkdir -p /etc/probod
|
||||
|
||||
# Load developer-specific overrides (not committed to repo).
|
||||
if [ -f /workspace/.sandbox.env ]; then
|
||||
set -a
|
||||
. /workspace/.sandbox.env
|
||||
set +a
|
||||
fi
|
||||
|
||||
PROBOD_BASE_URL="http://${VM_IP}:8080" \
|
||||
AUTH_COOKIE_DOMAIN="${VM_IP}" \
|
||||
AUTH_COOKIE_SECURE=false \
|
||||
|
||||
Reference in New Issue
Block a user