1.3 KiB
1.3 KiB
paths
| paths | |||||
|---|---|---|---|---|---|
|
Environments and LAN access (docs/development/ENVIRONMENTS.md)
- The owner tests from other devices of the private network, never on the Ubuntu machine: every test surface
(app, Supabase API, Mailpit, Studio) is addressed by the DEV origin (
scripts/dev-env.sh,FAUNOSTEO_DEV_HOST), never by127.0.0.1/localhost, never hard-coded in a source (the automated browser suites are not a surface for other devices: their dev servers and the sandbox stay on 127.0.0.1). The Supabase CLI runs only throughscripts/supabase.sh(pnpm db:*,pnpm supabase): config.toml reads the origin withenv(). - Exposure (least privilege,
pnpm dev:net-check): LAN gets Vite 5173, the Supabase API 54321 and Mailpit behind basic auth through the DEV gateway (pnpm dev:gateway, nginx,faunosteo_dev_gateway, 54325). The CLI forces 0.0.0.0 on 54322 PostgreSQL, 54323 Studio, 54324 raw Mailpit: closed on the LAN interface by host UFW rules (owner action, ENVIRONMENTS.md §3.2); SSH tunnel for Studio; the worker publishes no port. Nothing is exposed to the Internet; no production infrastructure is touched from this repository. Rust is built natively; Docker runs services, the worker, sandbox tests and images.