Commit d2e68d7
committed
Enable Uvicorn reloading for local development
whythawk-full-stack-fastapi-postgresql#1
tiangolo/uvicorn-gunicorn-docker#1
tiangolo/uvicorn-gunicorn-docker#6
PR #1 updated the backend Docker image from
https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker
to https://github.com/br3ndonland/inboard (see https://inboard.bws.bio).
The previous Docker image had a start-reload.sh script, which started
Uvicorn with reloading. With inboard, there's no need for a separate
script. The same effect can be achieved with environment variables
(`PROCESS_MANAGER=uvicorn`, `WITH_RELOAD=true`).1 parent 11a8215 commit d2e68d7
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
0 commit comments