diff --git a/MySQL_conf_pbx/test1/docker-compose.yml b/MySQL_conf_pbx/test1/docker-compose.yml index cace2ad..a7947bc 100755 --- a/MySQL_conf_pbx/test1/docker-compose.yml +++ b/MySQL_conf_pbx/test1/docker-compose.yml @@ -34,6 +34,16 @@ services: networks: - asterisk-net + # *** only needed if your not running docker as a sudo user necessary for mariadb container db access + user: "999:999" # Ensures the container runs as the mysql user, matching volume ownership + command: "--innodb-buffer-pool-size=256M" + healthcheck: # Optional: Ensure MariaDB is healthy before Asterisk connects + test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"] + interval: 10s + timeout: 5s + retries: 5 + # *** + networks: asterisk-net: driver: bridge diff --git a/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 b/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 index 037aff4..8fddb6d 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 and b/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/aria_log_control b/MySQL_conf_pbx/test1/mariadb_data/aria_log_control index f658cd8..85c7d9a 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/aria_log_control and b/MySQL_conf_pbx/test1/mariadb_data/aria_log_control differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/ddl_recovery.log b/MySQL_conf_pbx/test1/mariadb_data/ddl_recovery.log deleted file mode 100755 index 5e30b6d..0000000 Binary files a/MySQL_conf_pbx/test1/mariadb_data/ddl_recovery.log and /dev/null differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool b/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool old mode 100755 new mode 100644 index 6d146b4..27f357b --- a/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool +++ b/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool @@ -1,30 +1,11 @@ 11,4 11,3 -11,2 -11,1 -11,0 10,3 -10,2 -10,1 -10,0 -9,4 9,3 -9,2 -9,1 -9,0 -1,2 -3,2 -8,5 -8,4 8,3 -8,2 -8,1 -8,0 -0,9 -2,2 -7,3 5,3 4,3 +7,3 1,45 3,44 2,44 diff --git a/MySQL_conf_pbx/test1/mariadb_data/ibtmp1 b/MySQL_conf_pbx/test1/mariadb_data/ibtmp1 deleted file mode 100755 index 202d95c..0000000 Binary files a/MySQL_conf_pbx/test1/mariadb_data/ibtmp1 and /dev/null differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/tc.log b/MySQL_conf_pbx/test1/mariadb_data/tc.log deleted file mode 100755 index 0ca0162..0000000 Binary files a/MySQL_conf_pbx/test1/mariadb_data/tc.log and /dev/null differ