-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Configurable devevelopment port & documentation updates #6234
Conversation
There are two different docs on using docker with TM, but since docker wasn't working, I could update and merge the two docs. |
Where is the second doc? I couldn't find it. I found a guide for installing TM via docker for deployment, but no complete guide for running via docker during development. |
one is in docs-old, the other in in an old PR from Outreachy last year. I'm trying to get rid of docs-old by updating the docs, and moving them all to docs. Once I can get docker to work, I can merge and update a single doc. |
The old one I was planning to merge in is here: #5621. You're welcome to update a doc on docker usage for TM. :-) |
Looks fine to me - that one is for deployment specifically though. I know they are similar, but we need a doc for how to deploy, and a doc for how to develop using docker. |
For a doc on docker, I was thinking about a simple howto user guide. Basically an interested contributor should be able to clone the TM git repo, run docker-compose, and try TM in a self-hosted environment. I do this all the time when evaluating other projects, and if it doesn't work out of the box, that ends the evaluation most of the time. |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
To do that I think we should just update the Then change the port binded to traefik by default to any >1024. After that a user could simply: git clone https://github.com/hotosm/tasking-manager
cp example.env tasking-manager.env
docker compose up -d |
I like making it really easy for people to download and evaluate TM locally using docker. |
I will make another PR (next week) updating as above & adding some info to the docs then 👍 |
Problem
Solution
TM_DEV_PORT
variable to the dotenv options, so the port can be configured.tm-
to prevent conflict with other tools that may have containers namedbackend
andfrontend
.Context
2024-02-02 15:35 Update/Edit: