diff --git a/custom-mysql-settings.cnf b/custom-mysql-settings.cnf index 8de22b5..2b218c8 100644 --- a/custom-mysql-settings.cnf +++ b/custom-mysql-settings.cnf @@ -2,3 +2,5 @@ max_allowed_packet=32M sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION lower_case_table_names=1 +local_infile=1 +secure-file-priv= diff --git a/docker-compose.yml b/docker-compose.yml index 6533f88..5eeebec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,6 +51,12 @@ services: target: /var/lib/mysql volume: nocopy: true + - type: bind + source: ./mysql-files + target: /var/lib/mysql-files + read_only: false + bind: + propagation: rprivate - type: bind source: ./mysql_init_scripts target: /docker-entrypoint-initdb.d @@ -638,6 +644,7 @@ networks: volumes: mysql_init_scripts: + mysql-files: cassandra_init_scripts: data-bridge-data-rabbitmq: data-bridge-data-redis: