-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenv.sh
66 lines (54 loc) · 2.51 KB
/
env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
case "${HOSTNAME:-unset}" in (accona|sinai|kavir|gobi|thar|sahara)
docker_start+=(
# --mount="type=bind,src=/mnt/seenas2/data,dst=/home/raustin9/src/Sunrise-Demo/data,readonly=false"
--mount="type=bind,src=/mnt/seenas2/data,dst=/mnt/seenas2/data,readonly=false"
# --mount="type=bind,src=/mnt/data,dst=/mnt/data,readonly=false"
# --publish=127.202.208.70:33267:33267
--net=host
)
docker_service_start+=(
--mount="type=bind,src=/mnt/seenas2/data,dst=/mnt/seenas2/data,readonly=true"
)
;; esac
GLOBE_PROD_PORT=33267
GLOBE_PROD_IP=127.202.208.70
#if [ "${USER:-}" = "raustin9" ]; then
# # echo "User: ${USER:-}"
# server_bind=127.242.160.24 # $(,address sunrise +%B)
# server_port=57872 # $(,address sunrise +%P)
#fi
#if [ "${USER:-}" = "raustin9" ]; then
# # echo "User: ${USER:-}"
# server_bind=${GLOBE_PROD_IP}
# server_port=${GLOBE_PROD_PORT}
# # server_bind=127.242.160.24 # $(,address sunrise +%B)
# # server_port=57872 # $(,address sunrise +%P)
#fi
case "${USER:?}@${HOSTNAME:?}" in
("thobson2@sahara")
docker_tag=th--${docker_tag:?}
docker_name=th--${docker_name:?}
park_server_bind=0.0.0.0 # 127.139.81.52 # $(,address th/sunrise/server/park +%B)
park_server_port=61327 # $(,address th/sunrise/server/park +%P)
park_server_host=http://sahara.eecs.utk.edu:${park_server_port:?}/
city_server_bind=0.0.0.0 # 127.233.183.68 # $(,address th/sunrise/server/city +%B)
city_server_port=47361 # $(,address th/sunrise/server/city +%P)
city_server_host=http://sahara.eecs.utk.edu:${city_server_port:?}/
client_bind=0.0.0.0 # 127.148.193.76 # $(,address th/sunrise/client +%B)
client_port=54742 # $(,address th/sunrise/client +%P)
client_host=http://sahara.eecs.utk.edu:${client_port:?}/
;;
("raustin9@sahara")
docker_tag=aa--${docker_tag:?}
docker_name=aa--${docker_name:?}
park_server_bind=0.0.0.0 # 127.147.179.116 # $(,address aa/sunrise/server/park +%B)
park_server_port=40912 # $(,address aa/sunrise/server/park +%P)
park_server_host=http://sahara.eecs.utk.edu:${park_server_port:?}/
city_server_bind=0.0.0.0 # 127.35.215.166 # $(,address aa/sunrise/server/city +%B)
city_server_port=60651 # $(,address aa/sunrise/server/city +%P)
city_server_host=http://sahara.eecs.utk.edu:${city_server_port:?}/
client_bind=0.0.0.0 # 127.109.99.176 # $(,address aa/sunrise/client +%B)
client_port=48918 # $(,address aa/sunrise/client +%P)
client_host=http://sahara.eecs.utk.edu:${client_port:?}/
;;
esac