File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ if (getenv('REDIS_ENABLED')) {
4343 }
4444}
4545if (getenv('MEMCACHE_ENABLED')) {
46- $settings['memcache']['servers'] = [getenv('MEMCACHE_HOST') . ':11211' => 'default'] ? : ['127.0.0.1:11211' => 'default'];
46+ $settings['memcache']['servers'] = getenv('MEMCACHE_HOST') ? [getenv('MEMCACHE_HOST') . ':11211' => 'default'] : ['127.0.0.1:11211' => 'default'];
4747 $settings['memcache']['bins'] = ['default' => 'default'];
4848 $settings['memcache']['key_prefix'] = '';
4949 // If we're not installing, include the memcache services.
Original file line number Diff line number Diff line change @@ -47,12 +47,13 @@ services:
4747 extra_hosts :
4848 - host.docker.internal:host-gateway
4949 db :
50- image : mariadb
50+ image : mariadb:lts
5151 environment :
5252 MYSQL_DATABASE : drupal
5353 MYSQL_USER : user
5454 MYSQL_PASSWORD : password
5555 MYSQL_ROOT_PASSWORD : super-secret-password
56+ command : --transaction-isolation=READ-COMMITTED
5657 networks :
5758 - default
5859
Original file line number Diff line number Diff line change @@ -50,13 +50,14 @@ services:
5050 - PORT=9000
5151
5252 db :
53- image : mariadb
53+ image : mariadb:lts
5454 network_mode : service:web
5555 environment :
5656 MYSQL_DATABASE : drupal
5757 MYSQL_USER : user
5858 MYSQL_PASSWORD : password
5959 MYSQL_ROOT_PASSWORD : super-secret-password
60+ command : --transaction-isolation=READ-COMMITTED
6061
6162 mail :
6263 image : axllent/mailpit
You can’t perform that action at this time.
0 commit comments