Skip to content

Commit

Permalink
Added neurodesk.yml configuration for TinyRange
Browse files Browse the repository at this point in the history
  • Loading branch information
Vbitz committed Nov 14, 2024
1 parent 77bf4e9 commit f3bfcf9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions neurodesk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# TinyRange (https://github.com/tinyrange/tinyrange) configuration file for NeuroDesktop
version: 1
oci_image: vnmd/neurodesktop:2024-10-22
commands:
# Mount the shared storage. This part can fail non-fatally if the storage is not available.
- mkdir /root/.ssh;ssh-keyscan host.internal > /root/.ssh/known_hosts
- mkdir /share;echo password | sshfs -o allow_other -o password_stdin host.internal:/ /share
- mkdir /neurodesktop-storage;mount --bind /share/neurodesktop-storage /neurodesktop-storage
# Expose the fuse device to the container
- chmod 777 /dev/fuse
# Run the container entrypoint
- start-notebook.py
forward_ports:
- "8888"
min_spec:
cpu: 2
memory: 4096
disk: 8192

0 comments on commit f3bfcf9

Please sign in to comment.