Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker_spidervnc_dev

Dev env, all in one.

Quick setup running, with ssh and db data.

export PROJECT=~/project_spidervnc
mkdir -p  $PROJECT/volumes/ssh $PROJECT/volumes/db
cat ~/.ssh/id_rsa.pub > $PROJECT/volumes/ssh/authorized_keys
sudo chown -R root:root $PROJECT/volumes/ssh
sudo chmod 600 $PROJECT/volumes/ssh/authorized_keys
cd $PROJECT
git clone git@github.com:y0ug/spidervnc.git
docker run -v $(pwd)/spidervnc:/var/app \
 -v $(pwd)/volumes/db:/var/lib/mongodb \
 -v $(pwd)/volumes/ssh:/root/.ssh \
 -p 127.0.0.1:80:80 \
 -i -t y0ug/spidervnc-dev

Note if the volumes/db folder is empty, mongo are going to create
the files. This take some time so after the init of the db you've to
restart the contenair or ssh into and restart the following service

supervisorctl start celery_result
supervisorctl start flask
Docker Pull Command
Owner
y0ug
Source Repository