# Prepare docker
# docker pull docker.futuredial.com/isd_server:1.8.3

# Install settings
rm -r /var/www/isd/installer/1.8.3/
wget http://cmc-dl.futuredial.com/tools/isd/isd_installer_1.8.3.tar.gz
mkdir -p /var/www/isd/installer/1.8.3/
mkdir -p /var/www/isd/log/
tar zxvf isd_installer_1.8.3.tar.gz -C /var/www/isd/installer/1.8.3/
cd /var/www/isd/installer/1.8.3/
docker load < isd_server_1.8.3.tar
cp start_server.sh /var/www/isd/start_server.sh
systemctl enable docker
supervisorctl restart isd_server
