mirror of
https://github.com/prise6/smart-iss-posts
synced 2024-04-26 11:10:28 +02:00
add remote debug
This commit is contained in:
parent
9838ad8f21
commit
6a45ee0b04
5
Makefile
5
Makefile
|
@ -37,6 +37,11 @@ pipreqs:
|
||||||
requirements: test_environment
|
requirements: test_environment
|
||||||
pip install -U pip setuptools wheel
|
pip install -U pip setuptools wheel
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
python -m pip install --upgrade ptvsd
|
||||||
|
|
||||||
|
## debug
|
||||||
|
debug:
|
||||||
|
python -m ptvsd --host 0.0.0.0 --port 3000 --wait -m ${m}
|
||||||
|
|
||||||
## Write config template
|
## Write config template
|
||||||
config_template:
|
config_template:
|
||||||
|
|
|
@ -3,7 +3,7 @@ services:
|
||||||
jupyter:
|
jupyter:
|
||||||
image: jupyter/tensorflow-notebook:7f1482f5a136
|
image: jupyter/tensorflow-notebook:7f1482f5a136
|
||||||
container_name: jupyter-iss
|
container_name: jupyter-iss
|
||||||
command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password=''
|
command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.disable_check_xsrf=True
|
||||||
user: root
|
user: root
|
||||||
networks:
|
networks:
|
||||||
- netproxy
|
- netproxy
|
||||||
|
@ -17,6 +17,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- NB_GID=1000
|
- NB_GID=1000
|
||||||
- NB_USER=jovyan
|
- NB_USER=jovyan
|
||||||
|
ports:
|
||||||
|
- 127.0.0.1:3000:3000
|
||||||
|
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer:4.7
|
image: adminer:4.7
|
||||||
|
|
Loading…
Reference in a new issue