* fix starting xdebug for other php-versions
+ dump db bash helpers
This commit is contained in:
4
bash/dump.sh
Executable file
4
bash/dump.sh
Executable 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
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user