Commit 9bde2f3
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 cb293f2 commit 9bde2f3
File tree
3 files changed
+7
-1
lines changed- {{cookiecutter.project_slug}}
- backend
3 files changed
+7
-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 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
0 commit comments