frappe_docker/start-container.sh
vishalseshagiri 92fa8c1d42 Port forwarding enabled+start-container.sh+setup.sh
Former-commit-id: e70428e7b32c1eb74a376ab5efe195d2790ffc5c
2017-07-24 08:52:16 +00:00

12 lines
267 B
Bash
Executable File

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}"'