-
Notifications
You must be signed in to change notification settings - Fork 0
Docker Matlab
Lior Sabag edited this page Dec 26, 2016
·
3 revisions
To set up on a new machine:
- Grab gs://lior_backup/paperdoll-v1.0.tar.gz
- Grab gs://lior_backup/data
tar xvf paperdoll-v1.0.tar.gz
mv data/* paperdoll-v1.0/data/
export HOST_PD_DIR=$(pwd)/paperdoll-v1.0
export HOST_PORT=8084
docker run -v ${HOST_PD_DIR}:/root/paperdoll-v1.0 -p ${HOST_PORT}:8000 eu.gcr.io/test-paper-doll/tg/matlab_full:2 gunicorn --chdir /root/paperdoll-v1.0/ -b :8000 trendi.paperdoll.new_pd_falcon:api
On Azure (acs-1):
- Install https://github.com/Azure/azurefile-dockervolumedriver
- Create the ppddata volume
docker volume create -d azurefile -o share=paperdoll --name ppddata
docker run -d -v ppddata:/root/paperdoll_data/ -p 80:80 --label pd.active=yes -e constraint:pd.active!=yes registry.trendi.guru:5000/matlab_full:3 gunicorn --chdir /root/paperdoll_data/paperdoll-v1.0/ -b :80 --timeout 300 -w 2 trendi.paperdoll.new_pd_falcon:api