17 lines
662 B
Plaintext
17 lines
662 B
Plaintext
# Frontend (Vite): only values that are safe to expose in the browser belong here.
|
|
VITE_API_URL=http://localhost:3001
|
|
|
|
# API and PostgreSQL
|
|
APP_ENV=development
|
|
API_PORT=3001
|
|
DATABASE_URL=postgres://compor:compor_local_password@localhost:5433/compor_hub
|
|
FRONTEND_ORIGIN=http://localhost:3000
|
|
|
|
# Required in production. The development fallback must never be used outside localhost.
|
|
JWT_SECRET=replace-this-with-a-long-random-secret-before-deploying
|
|
|
|
# Run `npm run db:bootstrap-admin` after setting these values to create the first admin.
|
|
BOOTSTRAP_ADMIN_EMAIL=admin@example.com
|
|
BOOTSTRAP_ADMIN_PASSWORD=change-this-password
|
|
BOOTSTRAP_ADMIN_NAME=Compor HUB Admin
|