diff --git a/.devilbox/cfg/mysql.cnf b/.devilbox/cfg/mysql.cnf new file mode 100644 index 00000000..c4a4bb4d --- /dev/null +++ b/.devilbox/cfg/mysql.cnf @@ -0,0 +1,4 @@ +[mysqld] +server_id = 1 +log_bin = "mysql-bin" +sync_binlog = 0 diff --git a/docker-compose.yml b/docker-compose.yml index 20577694..e3ca9435 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -341,6 +341,7 @@ services: # Mount devilbox user-defined cnf files in order # to overwrite the MySQL server configuration + - ${DEVILBOX_PATH}/.devilbox/cfg/mysql.cnf:/etc/mysql/conf.d/devilbox.cnf:ro${MOUNT_OPTIONS} - ${DEVILBOX_PATH}/cfg/${MYSQL_SERVER}:/etc/mysql/docker-default.d:ro${MOUNT_OPTIONS} # Mount MySQL Data directory