feat: split admin into dedicated web surface
This commit is contained in:
+4
-2
@@ -1,10 +1,12 @@
|
||||
# App runtime
|
||||
NODE_ENV="development"
|
||||
|
||||
# Frontend env vars for the Vite app
|
||||
# Frontend env vars for the Vite apps
|
||||
# Use "/api" for same-origin nginx proxy setups (app/admin subdomain or docker web surfaces).
|
||||
VITE_API_BASE_URL="http://localhost:4000/api"
|
||||
VITE_GOOGLE_MAPS_PLATFORM_KEY="YOUR_BROWSER_MAPS_KEY"
|
||||
WEB_PORT="3000"
|
||||
ADMIN_WEB_PORT="3001"
|
||||
|
||||
# Backend env vars
|
||||
## For Docker Compose deployments, point DATABASE_URL at the internal "db" host.
|
||||
@@ -13,7 +15,7 @@ DATABASE_URL="postgres://postgres:postgres@localhost:5432/leads4less"
|
||||
COOKIE_SECRET="CHANGE_ME_IN_LOCAL_ENV"
|
||||
APP_HOST="0.0.0.0"
|
||||
APP_PORT="4000"
|
||||
APP_ORIGIN="http://localhost:3000"
|
||||
APP_ORIGIN="http://localhost:3000,http://localhost:3001"
|
||||
SESSION_TTL_DAYS="30"
|
||||
GOOGLE_MAPS_SERVER_KEY="YOUR_SERVER_MAPS_KEY"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user