This repository was archived by the owner on Nov 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
{{cookiecutter.project_slug}} Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ RUN pip install celery~=4.3 passlib[bcrypt] tenacity requests couchbase emails "
99
1010# For development, Jupyter remote kernel, Hydrogen
1111# Using inside the container:
12- # jupyter notebook --ip=0.0.0.0 --allow-root
12+ # jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
1313ARG env=prod
14- RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyter ; fi"
14+ RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyterlab ; fi"
1515EXPOSE 8888
1616
1717COPY ./app /app
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ RUN pip install raven celery~=4.3 passlib[bcrypt] tenacity requests "fastapi>=0.
99
1010# For development, Jupyter remote kernel, Hydrogen
1111# Using inside the container:
12- # jupyter notebook --ip=0.0.0.0 --allow-root
12+ # jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
1313ARG env=prod
14- RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyter ; fi"
14+ RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyterlab ; fi"
1515EXPOSE 8888
1616
1717ENV C_FORCE_ROOT=1
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ RUN pip install requests pytest tenacity passlib[bcrypt] couchbase "fastapi>=0.1
88
99# For development, Jupyter remote kernel, Hydrogen
1010# Using inside the container:
11- # jupyter notebook --ip=0.0.0.0 --allow-root
11+ # jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
1212ARG env=prod
13- RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyter ; fi"
13+ RUN bash -c "if [ $env == 'dev' ] ; then pip install jupyterlab ; fi"
1414EXPOSE 8888
1515
1616COPY ./app /app
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ version: '3.3'
22services :
33 backend :
44 environment :
5- - ' JUPYTER=jupyter notebook --ip=0.0.0.0 --allow-root'
5+ - JUPYTER=jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
66 - SERVER_HOST=http://${DOMAIN}
77 celeryworker :
88 environment :
99 - RUN=celery worker -A app.worker -l info -Q main-queue -c 1
10- - JUPYTER=jupyter notebook --ip=0.0.0.0 --allow-root
10+ - JUPYTER=jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
1111 - SERVER_HOST=http://${DOMAIN}
1212 backend-tests :
1313 environment :
14- - JUPYTER=jupyter notebook --ip=0.0.0.0 --allow-root
14+ - JUPYTER=jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
You can’t perform that action at this time.
0 commit comments