27 lines
865 B
Bash
27 lines
865 B
Bash
# App runtime
|
|
NODE_ENV="development"
|
|
|
|
# Frontend env vars for the Vite app
|
|
VITE_API_BASE_URL="http://localhost:4000/api"
|
|
VITE_GOOGLE_MAPS_PLATFORM_KEY="YOUR_BROWSER_MAPS_KEY"
|
|
|
|
# Backend env vars
|
|
# For Docker Compose deployments, point DATABASE_URL at the internal "db" host.
|
|
# If your password contains special characters, URL-encode it in DATABASE_URL.
|
|
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"
|
|
PG_BOSS_SCHEMA="pgboss"
|
|
SESSION_TTL_DAYS="30"
|
|
GOOGLE_MAPS_SERVER_KEY="YOUR_SERVER_MAPS_KEY"
|
|
|
|
# Docker Compose database env vars
|
|
POSTGRES_DB="leads4less"
|
|
POSTGRES_USER="postgres"
|
|
POSTGRES_PASSWORD="CHANGE_ME_IN_LOCAL_ENV"
|
|
|
|
# Example Compose DATABASE_URL
|
|
# DATABASE_URL="postgres://postgres:CHANGE_ME_IN_LOCAL_ENV@db:5432/leads4less"
|