|
@@ -105,7 +105,7 @@ RUN mkdir -p $HOME/.sparkmagic && cp config.json $HOME/.sparkmagic
|
|
RUN echo "\
|
|
RUN echo "\
|
|
[program:jupyter]\n\
|
|
[program:jupyter]\n\
|
|
directory=/workspace\n\
|
|
directory=/workspace\n\
|
|
-command=/bin/bash -c '/opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser' \n\
|
|
|
|
|
|
+command=/bin/bash -c '/opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser --NotebookApp.allow_origin=* --NotebookApp.allow_remote_access=1' \n\
|
|
autorestart=true\n\
|
|
autorestart=true\n\
|
|
startretries=0\n\
|
|
startretries=0\n\
|
|
redirect_stderr=true\n\
|
|
redirect_stderr=true\n\
|
|
@@ -124,7 +124,7 @@ ADD confs/test/user.keytab /
|
|
RUN echo "\
|
|
RUN echo "\
|
|
[program:jupyter]\n\
|
|
[program:jupyter]\n\
|
|
directory=/workspace\n\
|
|
directory=/workspace\n\
|
|
-command=/bin/bash -c 'kinit -k -t /user.keytab ailab && /opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser' \n\
|
|
|
|
|
|
+command=/bin/bash -c 'kinit -k -t /user.keytab ailab && /opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser --NotebookApp.allow_origin=* --NotebookApp.allow_remote_access=1' \n\
|
|
autorestart=true\n\
|
|
autorestart=true\n\
|
|
startretries=0\n\
|
|
startretries=0\n\
|
|
redirect_stderr=true\n\
|
|
redirect_stderr=true\n\
|
|
@@ -145,7 +145,7 @@ ADD confs/txprod/user.keytab /
|
|
RUN echo "\
|
|
RUN echo "\
|
|
[program:jupyter]\n\
|
|
[program:jupyter]\n\
|
|
directory=/workspace\n\
|
|
directory=/workspace\n\
|
|
-command=/bin/bash -c 'kinit -k -t /user.keytab ylaiuser && /opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser' \n\
|
|
|
|
|
|
+command=/bin/bash -c 'kinit -k -t /user.keytab ylaiuser && /opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser --NotebookApp.allow_origin=* --NotebookApp.allow_remote_access=1' \n\
|
|
autorestart=true\n\
|
|
autorestart=true\n\
|
|
startretries=0\n\
|
|
startretries=0\n\
|
|
redirect_stderr=true\n\
|
|
redirect_stderr=true\n\
|
|
@@ -162,7 +162,7 @@ RUN mkdir -p $HOME/.sparkmagic && cp config.json $HOME/.sparkmagic
|
|
RUN echo "\
|
|
RUN echo "\
|
|
[program:jupyter]\n\
|
|
[program:jupyter]\n\
|
|
directory=/workspace\n\
|
|
directory=/workspace\n\
|
|
-command=/bin/bash -c '/opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser' \n\
|
|
|
|
|
|
+command=/bin/bash -c '/opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser --NotebookApp.allow_origin=* --NotebookApp.allow_remote_access=1' \n\
|
|
autorestart=true\n\
|
|
autorestart=true\n\
|
|
startretries=0\n\
|
|
startretries=0\n\
|
|
redirect_stderr=true\n\
|
|
redirect_stderr=true\n\
|