File tree 3 files changed +7
-1
lines changed
{{cookiecutter.project_slug}}
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,7 @@ RUN bash -c "if [ $INSTALL_JUPYTER == 'true' ] ; then pip install jupyterlab ; f
17
17
18
18
ARG BACKEND_APP_MODULE=app.main:app
19
19
ARG BACKEND_PRE_START_PATH=/app/prestart.sh
20
- ENV APP_MODULE=${BACKEND_APP_MODULE} PRE_START_PATH=${BACKEND_PRE_START_PATH}
20
+ ARG BACKEND_PROCESS_MANAGER=gunicorn
21
+ ARG BACKEND_WITH_RELOAD=false
22
+ ENV APP_MODULE=${BACKEND_APP_MODULE} PRE_START_PATH=${BACKEND_PRE_START_PATH} PROCESS_MANAGER=${BACKEND_PROCESS_MANAGER} WITH_RELOAD=${BACKEND_WITH_RELOAD}
21
23
COPY ./app/ /app/
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ services:
49
49
args :
50
50
BACKEND_APP_MODULE : ${BACKEND_APP_MODULE-app.main:app}
51
51
BACKEND_PRE_START_PATH : ${BACKEND_PRE_START_PATH-/app/prestart.sh}
52
+ BACKEND_PROCESS_MANAGER : ${BACKEND_PROCESS_MANAGER-uvicorn}
53
+ BACKEND_WITH_RELOAD : ${BACKEND_WITH_RELOAD-true}
52
54
INSTALL_DEV : ${INSTALL_DEV-true}
53
55
INSTALL_JUPYTER : ${INSTALL_JUPYTER-true}
54
56
labels :
Original file line number Diff line number Diff line change @@ -153,6 +153,8 @@ services:
153
153
args :
154
154
BACKEND_APP_MODULE : ${BACKEND_APP_MODULE-app.main:app}
155
155
BACKEND_PRE_START_PATH : ${BACKEND_PRE_START_PATH-/app/prestart.sh}
156
+ BACKEND_PROCESS_MANAGER : ${BACKEND_PROCESS_MANAGER-gunicorn}
157
+ BACKEND_WITH_RELOAD : ${BACKEND_WITH_RELOAD-false}
156
158
INSTALL_DEV : ${INSTALL_DEV-false}
157
159
deploy :
158
160
labels :
You can’t perform that action at this time.
0 commit comments