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