Skip to content

Commit

Permalink
[FEATURE] Docker: add custom mariadb cnf (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: Janos SUTO <[email protected]>
  • Loading branch information
jsuto authored Jul 26, 2024
1 parent 00064c2 commit a3aad1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
volumes:
- db_data:/var/lib/mysql
- ./piler.cnf:/etc/mysql/conf.d/piler.cnf:ro

manticore:
image: manticoresearch/manticore:6.3.2
Expand Down
11 changes: 11 additions & 0 deletions docker/piler.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[mariadb]

innodb_buffer_pool_size = 256M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=64M
innodb_log_file_size=64M
innodb_read_io_threads=4
innodb_write_io_threads=4
innodb_log_files_in_group=2

innodb_file_per_table

0 comments on commit a3aad1d

Please sign in to comment.