[submodule "install"]
path = install
- url = https://github.com/yomguy/docker-composition-installer.git
+ url = git@github.com:yomguy/docker-composition-installer.git
#!/bin/sh
docker-compose up -d db
-docker-compose run db bash -c "/srv/bin/misc/wait.sh; /srv/bin/dev/local/restore_db.sh; /srv/bin/dev/local/restore_db.sh"
+docker-compose run db bash -c "/srv/bin/misc/wait.sh; /srv/bin/dev/local/restore_db.sh"
docker-compose stop db
#!/bin/bash
+cd "$(dirname "$0")"/../../
+
echo "----------------------------"
echo `date +\%Y\%m\%d-\%H-\%M-\%S`
options=""
if [ "$1" = "-d" ]; then
- options=$options"-d";
+ options=$options" -d";
fi
docker-compose -f docker-compose.yml -f env/prod.yml up $options
echo " -f --front : build frontend"
echo " -d --doc : build documentation"
echo " -c --collect : collect static files"
- echo " -r --reload : reload Wsgi"
+ echo " -r --reload : reload wsgi"
echo " -n --cron : install local cron to host"
echo ""
}