Author: sebb Date: Thu Feb 5 15:51:10 2026 New Revision: 1931723 Log: How to use .env for credentials
Modified: comdev/reporter.apache.org/trunk/ (props changed) comdev/reporter.apache.org/trunk/DOCKER.md Modified: comdev/reporter.apache.org/trunk/DOCKER.md ============================================================================== --- comdev/reporter.apache.org/trunk/DOCKER.md Thu Feb 5 15:44:49 2026 (r1931722) +++ comdev/reporter.apache.org/trunk/DOCKER.md Thu Feb 5 15:51:10 2026 (r1931723) @@ -9,6 +9,7 @@ You will need to provide credentials for Jira. The default user name is ```githubbot```. This can be overridden if you don't have its password. +In any case, you must provide the password. ``` export REPORTER_JIRA_USER=username @@ -16,6 +17,18 @@ export REPORTER_JIRA_PASSWORD=password docker compose up ``` +Alternatively, you can create the file `.env`, with contents: + +```shell +# if required: +REPORTER_JIRA_USER=username +REPORTER_JIRA_PASSWORD=password +``` + +The `.env` file should not be readable outside the logged in user. +e.g. use `chmod 600 .env` on macOS/Linux +Also be careful that it does not get added to any repository. + Browse to ```http://localhost/``` You will be prompted to login.
