-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlocal.env.example
More file actions
20 lines (17 loc) · 1.06 KB
/
local.env.example
File metadata and controls
20 lines (17 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# MasterFabric — Local environment (gitignored)
# Copy to local.env and fill in. Never commit local.env.
# Used by: mf-expo app.config, scripts/cli.js (start-all merges this into its env).
# Redis — same as mf-go/deployments/docker-compose.yml (host :6380, requirepass devredis).
# Inherited by background `make run` from start-all. For mf-go in a new Terminal window,
# copy these lines into mf-go/.env or run `make run` after `export` from this file.
# If REDIS_URL is set in your shell without a password, mf-go ignores REDIS_PASSWORD — unset or embed the password in the URL.
REDIS_ADDR=localhost:6380
REDIS_PASSWORD=devredis
# Dev GraphQL (local mf-go)
# iOS Simulator / web: localhost is fine.
# Android emulator: mf-expo rewrites localhost → 10.0.2.2 automatically.
# Physical phone: localhost points at the phone — use your computer's LAN IP, e.g.:
# EXPO_PUBLIC_DEV_GRAPHQL_URL=http://192.168.1.10:8080/graphql
EXPO_PUBLIC_DEV_GRAPHQL_URL=http://localhost:8080/graphql
# Prod GraphQL (live backend)
EXPO_PUBLIC_GRAPHQL_URL=https://your-prod-url.example.com/graphql