Skip to content

Environment Variables

Here's what you can configure when running TigerBug. Most of these have sensible defaults, but you'll want to set a few for production.

VariableRequiredDefaultWhat it does
PORTNo9840Which port the server runs on
CLIENT_URLNohttp://localhost:5173 (dev) / http://localhost:9840 (Docker)The URL people will use to access TigerBug (needed for emails and CORS)
JWT_SECRETYes(none)A secret key for login tokens - make this random and keep it safe!
JWT_EXPIRES_INNo7dHow long people stay logged in (1d = 1 day, 7d = 1 week, etc.)
UPLOAD_PATHNo/app/server/data/attachmentsWhere uploaded files get stored
NODE_ENVNodevelopmentSet to "production" to hide debug info from users

Email Setup

Email gets configured through the admin UI, not environment variables. Much easier that way.

How it works

The server uses your CLIENT_URL setting to handle CORS and serve the web interface from the built files.

MIT License