-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy path.env.local.example
More file actions
18 lines (17 loc) · 899 Bytes
/
.env.local.example
File metadata and controls
18 lines (17 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Root `.env.local` (optional, loaded by Makefile via `-include .env.local`)
# Used for kind-on-remote-host and other repo-wide overrides.
#
# Example: point tools at a remote machine running kind (Tailscale, etc.)
KIND_HOST=100.x.x.x
# --- Frontend local dev (`components/frontend/.env.local`) ---
# Prefer generating this file with `make dev-env` after the cluster is up; it sets:
# BACKEND_URL=http://localhost:<KIND_FWD_BACKEND_PORT>/api
# OC_TOKEN=<from cluster test-user-token>
# ENABLE_OC_WHOAMI=0
#
# `make dev COMPONENT=frontend` writes/updates that file and runs `npm run dev`.
# `make dev COMPONENT=frontend,backend` uses BACKEND_URL=http://localhost:8080/api (local go run).
#
# Makefile variables for the dev workflow (pass on the command line):
# COMPONENT=frontend|backend|frontend,backend
# AUTO_CLUSTER=true # run kind-up without prompting if cluster is missing