์๋ ํ์ธ์,
zeppelin notebook ์์ ํ๋ ๊ฒ์ฒ๋ผ Shinyproxy๋ก jupyter notebook์ ์ ๊ณตํ๋ ๋ฐฉ๋ฒ์ด ์์ต๋๊น?
๋๋ ๋ค์๊ณผ ๊ฐ์ด ์๋ํ๋ค.
specs:
id: jupyter-notebook
display-name: jupyter-notebook
description: Jupyter Notebook is a web-based interactive computational environment for creating Jupyter notebook documents.
container-cmd: ["jupyter", "notebook","--NotebookApp.token=''","--NotebookApp.password=''", "--ip=0.0.0.0", "--port=8888", "--allow-root"]
container-image: jupyter/datascience-notebook
container-network: shinyproxy-network
port: 8888
์ฑ๊ณตํ์ง ๋ชปํ ๋นํธ. ๋ ๊ทธ๋ฅ 404
..
๋น์ ์ ๋์์ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค :)
@thomas-chauvet ์์๋๋์? ๊ฐ์ ์ค๋ฅ๋ก ๊ณ ์ํ์ญ์์ค Message: Not Found
id: jupyterlab
display-name: Jupyter Lab
description: Jupyter data science environment
container-network: sp-example-net
container-cmd: ["start.sh","jupyter", "lab","--LabApp.token=''","--LabApp.ip='0.0.0.0'","-- LabApp.allow_origin='same'"]
container-volumes: [ "/home/users/#{proxy.UserId}:/home/#{proxy.UserId}" ]
container-image: jupyter/datascience-notebook
port: 8888
์ฌ๊ธฐ์ docker run -it --rm -p 8888:8888 jupyter/datascience-notebook start.sh jupyter lab --LabApp.token='' --LabApp.ip='0.0.0.0' --LabApp.al
low_origin='same'
๋ ๋ฌธ์ ์์ด ์คํ๋ฉ๋๋ค.
@thomas-chauvet @hugeme Jupyter ๋ ธํธ๋ถ์ ์๋ URL์ ์ง์ํ์ง ์์ง๋ง ๋ฃจํธ ์๋ URL์ ์ฌ์ฉํฉ๋๋ค. ์ด๋ ShinyProxy ๋ด์์ ์ด ์ ํ ์ฌํญ์ ํด๊ฒฐํ์ง ์๊ณ ๋ ์ด๋ฌํ ๋ ธํธ๋ถ์ ShinyProxy์์ ์ฆ์ ์คํํ ์ ์์์ ์๋ฏธํฉ๋๋ค.
์๋ ํ์ธ์, ์ ๋ ๊ฐ์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค. ๋๋ ์ด๊ฒ์ด ์คํ๋ ๋ค๋ฅธ github-project๋ฅผ ๋ฐ๋์ง๋ง(https://github.com/rkingdc/datascience-portal) 404๋ ๋ฐ์์ต๋๋ค. ์ฃผํผํฐ ๋๊น์ง?
- id: jupyterlab
display-name: Jupyter Lab
description: Jupyter data science environment
container-network: sp-net
container-cmd: ["start.sh",
"jupyter", "lab",
"--LabApp.token=''",
"--LabApp.ip='0.0.0.0'",
"--LabApp.allow_origin='same'"]
container-volumes: [ "/home/users/#{proxy.UserId}:/home/#{proxy.UserId}" ]
container-image: jupyter
container-env:
USER: root
NB_USER: '#{proxy.UserId}'
NB_UID: 1010
NB_GID: 1020
CHOWN_HOME: 'yes'
CHOWN_HOME_OPTS: -R
port: 8888
์๋ ํ์ธ์, ์ด ๋ฌธ์ ์ ๋ํ ์ ๋ฐ์ดํธ๊ฐ ์์ต๋๊น? ShinyProxy ๋ด์์ Jupyter ๋์ปค๋ฅผ ์คํํ ์ ์๋ค๋ฉด ์ข์ ๊ฒ์ ๋๋ค. ๋ฌธ์ ์ธ์ฌ
ShinyProxy์ ๋ค์ ๋ฒ์ ์ Jupyter ๋ ธํธ๋ถ ์คํ์ ์ง์ํฉ๋๋ค! ์ด๋ฏธ ํ ์คํธํ ์ ์๋๋ก ์ค๋ ์ท ๋ฆด๋ฆฌ์ค๋ฅผ ๋ง๋ค์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ ์ ์ฉ ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ์กฐํ์ธ์. https://github.com/openanalytics/shinyproxy-jupyter-notebook-demo
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
ShinyProxy์ ๋ค์ ๋ฒ์ ์ Jupyter ๋ ธํธ๋ถ ์คํ์ ์ง์ํฉ๋๋ค! ์ด๋ฏธ ํ ์คํธํ ์ ์๋๋ก ์ค๋ ์ท ๋ฆด๋ฆฌ์ค๋ฅผ ๋ง๋ค์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ ์ ์ฉ ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ์กฐํ์ธ์. https://github.com/openanalytics/shinyproxy-jupyter-notebook-demo