-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Configuration is done using environment variables. The following variables are available:
Indicates the runtime mode.
-
debug
: will enable debugging features. -
production
: recommended runtime mode.
A GitHub token used to authorize against the API.
This key is used mainly for encryption of session data, passwords, etc.
The default application locale.
Default value: en
The address the server will bind to.
Default value: 127.0.0.1
The port the server should listen on.
Default value: 8080
The absolute URL the app will be reachable on. Using a HTTPS protocol will make the server listen on HTTPS.
Default value: http://${APP_HOST}:${APP_PORT}
Default value: localhost
Default value: 27017
Default value: root
Default value: root
Default value: github-starred-index
Default value: mongodb://${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB}?retryWrites=true&w=majority
Whether to log HTTP requests.
Default value: true
Defines the log format for HTTP request logging.
Default value: short
See here for available values.
Defines the cron interval at which the repository index should be updated.
Default value: 0 * * * *
(hourly)