-
Notifications
You must be signed in to change notification settings - Fork 180
Install Redmine with docker compose for local development #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
| GitGuardian id | Secret | Commit | Filename | |
|---|---|---|---|---|
| - | Generic Password | 9377bc5 | docker-compose.yml | View secret |
| - | Generic Password | 9377bc5 | docker-compose.yml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v2.x #336 +/- ##
=========================================
Coverage 95.98% 95.98%
Complexity 395 395
=========================================
Files 27 27
Lines 1220 1220
=========================================
Hits 1171 1171
Misses 49 49 ☔ View full report in Codecov by Sentry. |
kbsali
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
awesome!
Co-authored-by: Kevin Saliou <[email protected]>
This PR adds a
docker-compose.ymland some docker configuration. This allows us to quickly setup a dev environment using PHP 8.3, Redmine 5.1.1 and MariaDB 10.11 by runningdocker compose up -d.This command installs Redmine, runs the database migration and starts Redmine. The Redmine instance is available at http://localhost:3000 and can be used with the default credentials admin/admin. By modifying the version numbers in the
docker-compose.ymla custom Redmine version can be installed.This PR is the base for more integration tests and features depending on different Redmine versions.
To install all dependencies of php-redmine-api run
docker compose exec -u 1000 php composer update.The PHPUnit tests can be run with
docker compose exec -u 1000 php composer run test.The PHPStan tests can be run with
docker compose exec -u 1000 php composer run phpstan.The Code coverate can be run with
docker compose exec -u 1000 php composer run coverage.