mirror of
https://github.com/cytopia/devilbox.git
synced 2025-05-29 13:44:28 +00:00
Disable mysql socket
This commit is contained in:
parent
a0b3f8bfa2
commit
46202ca6dd
@ -352,7 +352,7 @@ debilbox_test() {
|
|||||||
echo "${count}"
|
echo "${count}"
|
||||||
|
|
||||||
# Break on OK's less or more than 4
|
# Break on OK's less or more than 4
|
||||||
if [ "${count}" != "4" ]; then
|
if [ "${count}" != "3" ]; then
|
||||||
curl localhost
|
curl localhost
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
@ -141,8 +141,8 @@ services:
|
|||||||
##
|
##
|
||||||
## Mount remote MySQL socket file to local disk
|
## Mount remote MySQL socket file to local disk
|
||||||
##
|
##
|
||||||
- MOUNT_MYSQL_SOCKET_TO_LOCALDISK=1
|
#- MOUNT_MYSQL_SOCKET_TO_LOCALDISK=1
|
||||||
- MYSQL_SOCKET_PATH=/tmp/mysql/mysqld.sock
|
#- MYSQL_SOCKET_PATH=/tmp/mysql/mysqld.sock
|
||||||
|
|
||||||
##
|
##
|
||||||
## Map remote PostgreSQL Port to 127.0.0.1
|
## Map remote PostgreSQL Port to 127.0.0.1
|
||||||
@ -180,7 +180,7 @@ services:
|
|||||||
- ${DEVILBOX_PATH}/log/${PHP_SERVER}:/var/log/php-fpm
|
- ${DEVILBOX_PATH}/log/${PHP_SERVER}:/var/log/php-fpm
|
||||||
|
|
||||||
# Mount MySQL Socket directory
|
# Mount MySQL Socket directory
|
||||||
- ${DEVILBOX_PATH}/run/mysql:/tmp/mysql
|
#- ${DEVILBOX_PATH}/run/mysql:/tmp/mysql
|
||||||
|
|
||||||
# Mount Mail directory
|
# Mount Mail directory
|
||||||
- ${DEVILBOX_PATH}/run/mail:/var/mail
|
- ${DEVILBOX_PATH}/run/mail:/var/mail
|
||||||
@ -224,7 +224,7 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||||
- MYSQL_SOCKET_DIR=/tmp/mysql
|
#- MYSQL_SOCKET_DIR=/tmp/mysql
|
||||||
|
|
||||||
# Runtime settings
|
# Runtime settings
|
||||||
- MYSQL_GENERAL_LOG=${MYSQL_GENERAL_LOG}
|
- MYSQL_GENERAL_LOG=${MYSQL_GENERAL_LOG}
|
||||||
@ -245,7 +245,7 @@ services:
|
|||||||
- ${DEVILBOX_PATH}/log/${MYSQL_SERVER}:/var/log/mysql
|
- ${DEVILBOX_PATH}/log/${MYSQL_SERVER}:/var/log/mysql
|
||||||
|
|
||||||
# Mount MySQL Socket directory
|
# Mount MySQL Socket directory
|
||||||
- ${DEVILBOX_PATH}/run/mysql:/tmp/mysql
|
#- ${DEVILBOX_PATH}/run/mysql:/tmp/mysql
|
||||||
|
|
||||||
# Mount devilbox user-defined cnf files in order
|
# Mount devilbox user-defined cnf files in order
|
||||||
# to overwrite the MySQL server configuration
|
# to overwrite the MySQL server configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user