-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): content-type fails when deployed within internal network …
…controls (#128) * chore(build): remove tox files from container * refactor(build): move ml training to container build time * feat(build): add static file settings and uvicorn/gunicorn to dep list * feat(build): add nginx service/config to app container * chore(build): workaround to trigger pr container build for testing * feat(conf): autogenerate secret key on app startup * prevents having to hardcode value in docker-compose, value will now be unique to each deployment * feat(build): add building of custom Nginx container * allows embedding of configuration to simplify end user usability * Add CI trigger for new container * Add Dockerfile for new container (Dockerfile.nginx) * Update docker-compose.yml to build locally if images not available upstream * chore(docs): Update docs to always point to latest release * Reformat README a bit for readability * Update Makefile to build new nginx container * fix(ci): dumb typo fix * chore(ci): revert container build trigger to release * chore(ci): cleanup inconsistent spacing in yml * chore(build): use native gunicorn (removed uvicorn worker) * simplified runtime by using gunicorn worker, no async code so no app impact (removed uvicorn from deps) * added protocol scheme (http/https) to forwarded headers for nginx
- Loading branch information
Showing
11 changed files
with
321 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
.github | ||
venv | ||
.venv | ||
.tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.