* fix starting xdebug for other php-versions

+ dump db bash helpers
This commit is contained in:
2020-11-11 11:12:58 +03:00
parent 4687eb8daa
commit c57f3421e4
3 changed files with 6 additions and 2 deletions

4
bash/dump.sh Executable file
View File

@ -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

View File

@ -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

View File

@ -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.4-fpm | awk '{print $1}')
# Grab OS type