![]() ![]() ![]() ![]() The full list of environment variables you can use to override the default configuration ![]() OPENPROJECT_STATSD_HOST="127.0.0.1" OPENPRJOECT_STATSD_PORT="8125" Other configuration topics Topic This is disabled by default unless a host is configured. Currently these are simply the metrics for the puma server, but this may include more in the future. To disable 2FA altogether and remove all menus from the system, so that users cannot register their 2FA devices: OPENPROJECT_2FA_DISABLED="true" OPENPROJECT_2FA_ACTIVE_STRATEGIES="" statsd You can also use Amazon SNS to send SMS for authentication: OPENPROJECT_2FA_ACTIVE_STRATEGIES="" OPENPROJECT_2FA_SNS_ACCESS_KEY_ID="YOUR KEY ID" OPENPROJECT_2FA_SNS_SECRET_ACCESS_KEY="YOUR SECRET KEY" OPENPROJECT_2FA_SNS_REGION="AWS REGION" If you have a MessageBird account, you can setup a SMS 2FA by activating that strategy like so: OPENPROJECT_2FA_ACTIVE_STRATEGIES="" OPENPROJECT_2FA_MESSAGE_BIRD_APIKEY="your api key here" However, if you also want to ensure administrators cannot uncheck this, use the following variable OPENPROJECT_2FA_ENFORCED="true"īy default, the TOTP strategy for phone authenticator apps is active. To enforce every user requires 2FA, you can use the checkbox under System settings > Authentication > Two-factor authentication. You can set the available 2FA strategies and/or enforce or disable 2FA system-wide. NOTE: Timeouts only are supported when using at least 2 workers. OPENPROJECT_WEB_WORKERS="2" OPENPROJECT_WEB_TIMEOUT="60" OPENPROJECT_WEB_WAIT_TIMEOUT="10" OPENPROJECT_WEB_MIN_THREADS="4" OPENPROJECT_WEB_MAX_THREADS="16" If you would like to hide the homescreen links to the OpenProject community, you can do this with the following configuration:ĭefault=true OPENPROJECT_SHOW_COMMUNITY_LINKS=false webĬonfiguration of the main ruby web server (currently puma). If they are larger only the database dump will be included.ĭefault=1024 OPENPROJECT_BACKUP_ATTACHMENT_SIZE_MAX_SUM_MB="8192" additional configurations for backup OPENPROJECT_BACKUP_DAILY_LIMIT="3" OPENPROJECT_BACKUP_INCLUDE_ATTACHMENTS="true" OPENPROJECT_BACKUP_INITIAL_WAITING_PERIOD="86400" show community links Per default the maximum overall size of all attachments must not exceed 1GB for them to be included in the backup. If enabled, admins (or users with the necessary permission) can download backups of the OpenProject installation via OpenProject’s web interface or via the API.ĭefault: true OPENPROJECT_BACKUP_ENABLED="false" backup attachment size max sum mb This example in the old configuration.yml looked like this: enterprise : fail_fast : true backup configuration backup enabled Which is the same as: OPENPROJECT_ENTERPRISE_FAIL_FAST=true To add an environment variable manually to the docker-compose file, add it to the environment: section of the op-x-app definition like in the following example: version : " 3.7" networks : frontend : backend : volumes : pgdata : opdata : x-op-restart-policy : &restart_policy restart : unless-stopped x-op-image : &image image : openproject/community:$" In the compose folder you will also find the file docker-compose.yml which shall NOT be edited.Īfter changing the file the command docker-compose down & docker-compose up -d must be issued Docker one container per process installationĪdd your custom configuration to. This will write the value of the variable to the file /etc/openproject/conf.d/other.Īfter the file /etc/openproject/conf.d/other is changed the command sudo openproject configure must be issuedĬonfiguring OpenProject through environment variables is described in detail in the environment variables guide. If you would like to change only one variable you are able to configure the environment variable by using the following command: sudo openproject config:set VARIABLE =value The variables will be automatically loaded to the application’s environment.Īfter changing the file /etc/openproject/conf.d/env the command sudo openproject configure must be issued env.example to /etc/openproject/conf.d/env and add the environment variables you want to configure. To configure the environment variables such as the number of web server threads, copy the. Whenever you call openproject config:set VARIABLE=value, it will end up in this folder. Files stored within /etc/openproject/conf.d/ are used for parsing the variables and your custom values to your configuration. The file /opt/openproject/.env.example contains some information to learn more. NOTE: This documentation is for OpenProject on-premises Installations only, if you would like to setup similar in your OpenProject cloud instance, please contact us at Using the configuration file config/configuration.yml is depracted and is NOT recommended anymore Packaged installation These are often helpful for automatically deploying production systems. OpenProject can be configured via environment variables. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |