Files
2026-07-22 15:54:59 -05:00

23 lines
861 B
Plaintext

# Copy this file to ".env" and fill in real values. Never commit the real .env.
# --- Database ---
# Each part of the Postgres connection is its own setting, so the username and
# password are easy to change. When running via docker-compose these are set for
# you there; set them here when running the app directly (npm run dev).
DB_HOST=localhost
DB_PORT=5432
DB_USER=sde
DB_PASSWORD=sde_password
DB_NAME=sde_toolkit
# Advanced (optional): a full connection string. If set, it overrides the DB_*
# settings above. Most people should leave this blank and use the DB_* fields.
# DATABASE_URL=postgres://sde:sde_password@localhost:5432/sde_toolkit
# --- Server ---
PORT=3000
# Public URL the app is served from. The Node server uses this to validate the
# origin of form/POST requests. Set it to the address people actually use.
ORIGIN=http://localhost:3000