Skip to content

Configuration

Dimitris Papagiannis edited this page Jan 8, 2025 · 3 revisions

Configuration

Warning

TODO

Configuration is based on environment variables, which can be configured either in the environment itself, or in an .env file in the root of the project.

A sample configuration is provided for both production (.env_sample_production) and development (.env_sample_local).

Environment variable name Description Default value
ENV Configures multiple aspects of the application, acts like a preset for multiple internal values. Possible values are development, production, testbed and test4. Values affected: SERVER_PORT, SERVER_LOG_PATH, SERVER_DATA_PATH, SERVER_URL_PREFIX, CMSWEB_FRONTEND_PROXY_URL, SERVER_GRID_CERT_PATH, ROBBER_LOG_PATH_PRODUCTION, ROBBER_LOG_PATH_PLAYBACK, GRABBER_LOG_PATH. development
GRABBER_DEBUG Enables/disables debug output for the grabber.py script False
SERVER_DEBUG Enables/disables debug output for the server.py script False
CMSWEB_FRONTEND_PROXY_URL Specifies the CMSWEB frontend to use for accessing the P5 network. You could even use the direct URL to the port of a running fff_dqmtools process, e.g. http://localhost:9215.
Clone this wiki locally