Port forwarding enabled+start-container.sh+setup.sh

This commit is contained in:
vishalseshagiri
2017-07-24 08:52:16 +00:00
parent d4d6952755
commit e70428e7b3
1397 changed files with 64885 additions and 31 deletions

11
start-container.sh Executable file
View File

@@ -0,0 +1,11 @@
echo "Enter a password for your database "
read DB_PASS
echo 'export DB_PASS='$DB_PASS >> ~/.bashrc
source ~/.bashrc
docker-compose up -d
app_id=`docker ps | grep docker_frappe | awk {'print $1'}`
docker exec -it $app_id bash -c './setup.sh; exec "${SHELL:-sh}"'