Skip to content

Commit

Permalink
#305 add helm values file
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Jul 28, 2022
1 parent 59a9cc7 commit 49ff370
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ USER root
RUN jupyter labextension disable @jupyterlab/hub-extension
RUN apt-get update -qq &&\
apt-get install python3-tk vim nano unzip git g++ -qq

RUN conda install python=3.7 -y
COPY --chown=1000:1000 requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir
USER $NB_UID
Expand Down
17 changes: 17 additions & 0 deletions k8s/values_cf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
hub:
allowNamedServers: true
extraConfig:
timing: |
c.Spawner.port = 8000
c.Spawner.http_timeout = 300
c.Spawner.start_timeout = 300
c.JupyterHub.tornado_settings = { "headers": { "Content-Security-Policy": "frame-ancestors 'self' http://opensourcebrain.org:80 http://localhost:3000 http://comodl.org:80"}}
spawner: >-
c.Spawner.args = ["--debug", "--NotebookApp.tornado_settings={\"headers\":{\"Content-Security-Policy\": \"frame-ancestors 'self' http://opensourcebrain.org:80 http://localhost:3000 http://comodl.org:80\"}}", "--NotebookApp.default_url=/geppetto", "--library=nwb_explorer"]
resources:
requests:
cpu: 10m
proxy:
secretToken: b3fed077c7538cfc5e2a6469ddac7d43a18fc645789407b53e580b7342b968d8
auth:
type: tmp

0 comments on commit 49ff370

Please sign in to comment.