22 lines
885 B
Plaintext
22 lines
885 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
|
|
|
|
# Docker Swarm / Portainer image tags. The defaults are the Gitea Container Registry images.
|
|
API_IMAGE=gitea.blyzer.com.br/blyzer/compor-academy-api
|
|
WEB_IMAGE=gitea.blyzer.com.br/blyzer/compor-academy-web
|
|
IMAGE_TAG=latest
|