From b363c63d44eef05a06f8f7ff7c471ac4392cc4e9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 11 Nov 2020 05:29:12 +0100 Subject: Support for ufo & jupyter notebooks --- run/config.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 run/config.sh (limited to 'run/config.sh') diff --git a/run/config.sh b/run/config.sh new file mode 100644 index 0000000..048ecfb --- /dev/null +++ b/run/config.sh @@ -0,0 +1,8 @@ +port="$(($(id -u)%100 + 100))" +ssh_port="${port}22" +web_port="${port}80" + +image="$1" +[ -n "$image" ] || image="tomo-remote" # tomo-remote:latest tomo-remote:devel (also ccpi, ufo, tomo) + +echo "Image: $image, Ports: $ssh_port, $web_port" -- cgit v1.2.3