Port forwarding enabled+start-container.sh+setup.sh
This commit is contained in:
11
start-container.sh
Executable file
11
start-container.sh
Executable 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}"'
|
||||
|
||||
Reference in New Issue
Block a user