23 lines
926 B
Text
23 lines
926 B
Text
|
|
# Trips visualization stack — copy to compose/.env (gitignored) for local dev,
|
||
|
|
# or set these in the Coolify resource's Environment Variables tab for prod.
|
||
|
|
|
||
|
|
# --- Database (read-only role created by db/migrations/001_viz_anon_role.sql) ---
|
||
|
|
VIZ_DATA_USER=viz_anon
|
||
|
|
VIZ_DATA_PASSWORD=replace-me-with-the-password-from-ALTER-ROLE
|
||
|
|
|
||
|
|
# Host where tracksolid_db is reachable.
|
||
|
|
# Local Mac dev: stage.rahamafresh.com
|
||
|
|
# Coolify prod : host.docker.internal (the Coolify host's gateway)
|
||
|
|
VIZ_DB_HOST=host.docker.internal
|
||
|
|
VIZ_DB_PORT=5433
|
||
|
|
VIZ_DB_NAME=tracksolid_db
|
||
|
|
|
||
|
|
# --- PostgREST public URL (for OpenAPI links + CORS preflight reflection) ---
|
||
|
|
PGRST_PUBLIC_URL=https://api.trips.rahamafresh.com
|
||
|
|
|
||
|
|
# --- Web app ---
|
||
|
|
TRIPS_WEB_URL=https://trips.rahamafresh.com
|
||
|
|
VITE_API_URL=https://api.trips.rahamafresh.com
|
||
|
|
# Reuse DEKART_MAPBOX_TOKEN from the existing Dekart stack — same token is fine.
|
||
|
|
VITE_MAPBOX_TOKEN=pk.xxxxxxxxxxxxxxxxxxxxxxx
|