Fixed Docker custom ports and updated docs#158
Conversation
|
I noticed the docs almost exclusivly describe the profile-based workflow, but the repo still includes multiple Compose files. |
|
Both profiles and those compose files are supported. docker-compose.yml is the all-in-one file for quick setup (dev/prod profiles). The standalone docker-compose.dev.yml and docker-compose.prod.yml are used for deployments where you need finer control over which infrastructure services run in Docker vs. externally. I found myself setting up a single PostgreSQL DB and MinIO instance for all my local deployments while developing, but wanting to run the other services inside their own docker container to keep the data separate so I thought both ways were useful. |
therealbrad
left a comment
There was a problem hiding this comment.
I think it would help others to add the custom port options as comments in the .env.example file. Not completely necessary, though.
I see, thanks!
I've added it there, with explaination how to use. Wasn't sure if it isn't confusing that they are not applied with env_file:
- .env.development # Load development environment variables |
|
🎉 This PR is included in version 0.18.9 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [0.18.9](TestPlanIt/testplanit@v0.18.8...v0.18.9) (2026-03-27) ### Bug Fixes * Fixed Docker custom ports and updated docs ([TestPlanIt#158](TestPlanIt#158)) ([8f355e0](TestPlanIt@8f355e0))
Description
DOCKER_*_PORTvariables used in compose files (for exampleDOCKER_POSTGRES_PORT)..envfile or passed with--env-fileType of Change
How Has This Been Tested?
Describe the tests you ran to verify your changes:
Test Configuration:
Checklist
Additional Notes
This change makes it easier to run multiple instances on the same machine by allowing port overrides through environment variables, without editing files that are committed to Git.