+ dump db bash helpers
@ -0,0 +1,4 @@
#!/bin/bash
cd $HOME/structure
dbId=$(docker ps -q --filter name=db)
docker exec $dbId mysqldump -u root -p123456 $1 | pv > $2
@ -4,7 +4,7 @@
# Grab full name of php-fpm container
PHP_FPM_CONTAINER=$(docker ps | grep php-fpm | awk '{print $1}')
PHP_FPM_CONTAINER=$(docker ps | grep php7.1-fpm | awk '{print $1}')
# Grab OS type
PHP_FPM_CONTAINER=$(docker ps | grep php7.4-fpm | awk '{print $1}')