Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
# This may speed up conda trying to match dependencies
# TODO2: install all packages at once; this may speed up resolving dependencies
loop:
- jupyterhub
- notebook
- jupyterlab
- sudospawner
- dockerspawner
- numpy
- jupyterhub = 1.1.0
- notebook = 6.0.3
- jupyterlab = 2.1.1
- sudospawner = 0.5.2
- dockerspawner = 0.11.1
- numpy = 1.18.1

- file:
path: /opt/conda
Expand Down
2 changes: 1 addition & 1 deletion docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
state: started

- name: Prepull the Docker image
shell: docker pull {{ docker_image }}
shell: docker pull -a eucp/notebook
10 changes: 0 additions & 10 deletions docker_vars.yml

This file was deleted.

8 changes: 6 additions & 2 deletions jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
'/mnt/data/data1/thredds': {'bind': '/home/{username}/_data', 'mode': 'ro'},
'/mnt/data/data2/cordex-fpsc': {'bind': '/home/{username}/_cordex-fpsc', 'mode': 'ro'},
}
c.DockerSpawner.image = '{{ docker_image }}'

# c.DockerSpawner.image = '{{ docker_image }}'
c.DockerSpawner.image_whitelist = {'original': 'eucp/notebook:06af23e0e8b9',
'latest': 'eucp/notebook:latest',
'1.1.0': 'eucp/notebook:version-1.1.0',
'1.0.0': 'eucp/notebook:version-1.0.0',
}

# Turn off; minimize non-essential warnings & errors in the logs
c.PAMAuthenticator.open_sessions = False
Expand Down