Merge "Add test-scheduler dir to verity"
[bottlenecks.git] / test-scheduler / docker / server / run.sh
1 ##############################################################################
2 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 conductor_network='conductor_default'
11 group="x-lab"
12 # server image name
13 server_image="$group/test-scheduler:server"
14 # server container name
15 server_container="t-scheduler-server"
16
17 docker run -d --rm -p 5310:5310 -p 5312:5312 --net=$conductor_network --name $server_container $server_image