Commit 32404f56 authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Add proxy to startup script

parent d95f3736
Pipeline #10890 passed with stages
in 1 minute and 8 seconds
......@@ -219,7 +219,7 @@ if __name__ == '__main__':
sp_master = spark_master_service(options['master_mem_limit']['value'])
sp_worker = spark_worker_service(options['worker_count']['value'], options['worker_mem_limit']['value'], options['worker_cores']['value'])
sp_worker = spark_worker_service(count=2, mem_limit=options['worker_mem_limit']['value'], cores=3)
jupyter = spark_jupyter_notebook_service(options['notebook_mem_limit']['value'], options['worker_mem_limit']['value'])
sp_worker['labels'] = ['labs']
......@@ -3,5 +3,5 @@
export PATH=/opt/hadoop/bin:/opt/spark/bin:$PATH
exec /opt/conda/bin/jupyter lab --no-browser --NotebookApp.token='' --allow-root --ip=
exec /opt/conda/bin/jupyter lab --no-browser --NotebookApp.token="${NOTEBOOK_PASSWORD}" --allow-root --ip= --NotebookApp.base_url=${REVERSE_PROXY_PATH_8888}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment