summaryrefslogtreecommitdiffstats
path: root/run/config.sh
blob: 048ecfb06482f4b2082d88b7ef99823590484a32 (plain)
1
2
3
4
5
6
7
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"