Skip to content

Commit c66c958

Browse files
committed
Bind the cordex-fpsc data directory in Docker
Note: the access for this directory tends to be fine-tuned with ACLs. This, however, needs to be done manually, on a case by case basis.
1 parent 0a6bb84 commit c66c958

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyterhub_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
'CDAT_ANONYMOUS_LOG': 'no'}
1414
c.SystemUserSpawner.host_homedir_format_string = '/mnt/users/{username}'
1515
c.DockerSpawner.volumes = {'/mnt/users': {'bind': '/home/{username}/_users', 'mode': 'ro'},
16-
'/mnt/data/data1/thredds': {'bind': '/home/{username}/_data', 'mode': 'ro'}}
16+
'/mnt/data/data1/thredds': {'bind': '/home/{username}/_data', 'mode': 'ro'},
17+
'/mnt/data/data2/cordex-fpsc': {'bind': '/home/{username}/_cordex-fpsc', 'mode': 'ro'},
18+
}
1719
c.DockerSpawner.image = '{{ docker_image }}'
1820

1921

0 commit comments

Comments
 (0)