See .env
for the available configuration options. See .env.prod.local.dist
for env options required to set for production.
APP_ENV
: controls the environment. Is set todev
for dev andprod
for prod.APP_SECRET
: is Symfony secret. Needs to be specifically set to randomly generated string for production!MAILER_SENDER
: controls the sender e-mail address. Format:'Sherlock Holmes <[email protected]>'
DATABASE_URL
: controls the full url to the database. Default can be used for dev, must be set for production.
Register an application on https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps.
Add Web
platform and specify redirect url: https://<domain>(:<port>)/single-sign-on/azure-ad/callback/
.
For Front-channel logout URL
set url to: https://<domain>(:<port>)/sign-out
.
Add a secret, and fill in the .env
options below:
APP_AUTH_AZURE_AD
: set to true to enable azure ad sso.OAUTH_AZURE_AD_TENANT_ID
: theDirectory (tenant) ID
from azure adOAUTH_AZURE_AD_CLIENT_ID
: theApplication (client) ID
from azure adOAUTH_AZURE_AD_CLIENT_SECRET
: the secretvalue
created in the step above.
When revisions are gathered from a repository, they will be assigned to a review that matches the CODE_REVIEW_MATCHING_PATTERN
. In certain
situations, you have multiple matching groups within a single pattern, and you can specify which groups should be used as match.
CODE_REVIEW_MATCHING_PATTERN
CODE_REVIEW_MATCHING_GROUPS
Example:
CODE_REVIEW_MATCHING_PATTERN='^(?:US#\d+\s(?<storyBugOrTask>[BT]#\d+))|(?<bug>B#\d+)'
CODE_REVIEW_MATCHING_GROUPS='storyBugOrTask,bug'
Commit message: US#456 T#123 my first task
> matches: 'T#123', group 'storyBugOrTask'
Commit message: B#789 my first bug
> matches: 'B#789', group 'bug'
NGINX_VERSION
: controls the version of nginx.NGINX_PORT
: controls the port nginx is started on. Default 8080 for dev, 80 for prod.NGINX_SSL_PORT
: controls the https port for nginx. Default 8443 for dev, 443 for prod.PHP_VERSION
: controls the php version. Defaults to 8.1MYSQL_VERSION
: controls the mysql versions. Default to 8.0MYSQL_PORT
: controls the mysql port. Default to 3306MAILER_DSN
: controls the used mail procotol, default to the docker image:smtp://mail:25
.HTTP_CLIENT_VERIFY_HOST
: controls if curls VERIFY_HOST is enabled for API calls.true
recommended for production.HTTP_CLIENT_VERIFY_PEER
: controls if curls VERIFY_PEER is enabled for API calls.true
recommended for production.ERROR_MAIL
: specify the email-address error mails should be send to.