-
Notifications
You must be signed in to change notification settings - Fork 3
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
Dockercompose to unify all the docker components #132
Conversation
@liviuba, I rebased on api_shared_datamodels when I maybe shouldn't have as I have commits from other branches in here too. Making this one a draft as a result |
Fun one, Just now I tried to rebase my local api_shared_datamodels on this branch and there was a merge conflict because I tried the older docker compose instead of I then went back into the git history and modified that from a delete and create to a
|
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.
LGTM!
Not sure about the first commit on this branch (7258573) having the same message as an older squashed PR, but no conflicts so assuming nothing is overwritten that it shouldn't
|
||
CMD ["poetry", "run", "uvicorn", "--workers", "4", "--port", "8080", "--log-config", "./src/log_config.yml", "--host", "0.0.0.0", "src.app:app"] | ||
CMD ["poetry", "run", "uvicorn", "--workers", "4", "--port", "8080", "--log-config", ".api/src/log_config.yml", "--host", "0.0.0.0", "api.app:app"] |
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.
Typo for ./api...
here?
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.
I'm too good at fixing files in the git history so now I'll never look like I've made a mistake ever again lol
* updated shared model tests * [feat] testing multiple projects (not clean) * [bug] python 3.11 minimum? * [bug] ./ might be an issue? * [bug] two extra " --------- Co-authored-by: Francois <[email protected]>
@liviuba
I've made a start on moving the docker-compose file to the root dir. This should improve readability, expandability and fix the context issue.
Also solves the issue of what files are ignored by docker ignore
This context issue is that the api project can't see files from the other projects unless the context is set correctly.
Hope this helps,