Commit a8adf1e0 authored by Chris Shantz's avatar Chris Shantz

Added a bunch of mysql flags to command line

parent 661b8e2c
......@@ -82,9 +82,9 @@ services:
volumes:
- ./common-files/bash_aliases/drupal8:/usr/local/bin/bash_aliases
- ./common-files/wcms-settings/drupal8:/var/www/wcms-settings
- ./build-scripts/drupal8/drupal8_local:/var/www/drupal8
- ./build-scripts/drupal8/drupal8alt_local:/var/www/drupal8alt
- ./build-scripts/drupal8/html:/var/www/html
- ./build-scripts/drupal8/drupal8_local:/var/www/drupal8:delegated
- ./build-scripts/drupal8/drupal8alt_local:/var/www/drupal8alt:delegated
- ./build-scripts/drupal8/html:/var/www/html:delegated
ports:
- "8083:80"
- "4446:443"
......@@ -95,7 +95,7 @@ services:
db:
container_name: ${PROJECT_NAME}_mysql
image: mysql:5.7
command: --max_allowed_packet=32505856 # Set max_allowed_packet to 256M (or any other value)
command: --max_allowed_packet=32M --max_connections=200 --thread_cache_size=8 --thread_stack=192K --key_buffer_size=16M --query_cache_limit=1M --query_cache_size=32M --innodb_file_per_table=ON --innodb_stats_on_metadata=OFF --innodb_buffer_pool_instances=16 --query_cache_type=0 --query_cache_size=0 # Set max_allowed_packet to 256M (or any other value)
volumes:
- ./mysql/provision:/docker-entrypoint-initdb.d
- wcms_data:/var/lib/mysql
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment