Skip to content
This repository was archived by the owner on Jan 6, 2018. It is now read-only.

Commit 0cb5ab5

Browse files
committed
Update
1 parent ac1f7c4 commit 0cb5ab5

28 files changed

+175
-66
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
var current_version = '1.1.0';
2-
var new_version = '1.1.1';
1+
var current_version = '1.1.1';
2+
var new_version = '1.2.0';
33

44
module.exports = function(grunt) {
55
grunt.loadNpmTasks('grunt-replace');

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This project is part of the [Dockerized Drupal](https://dockerizedrupal.com/) in
1313
-h "${CONTAINER}" \
1414
-v /mysql \
1515
--entrypoint /bin/echo \
16-
dockerizedrupal/mysql:1.1.1 "Data-only container for Jenkins."
16+
dockerizedrupal/mysql:1.2.0 "Data-only container for Jenkins."
1717

1818
CONTAINER="mysql" && sudo docker run \
1919
--name "${CONTAINER}" \
@@ -24,16 +24,24 @@ This project is part of the [Dockerized Drupal](https://dockerizedrupal.com/) in
2424
-e GENERAL_LOG="0" \
2525
-e SLOW_QUERY_LOG="0" \
2626
-e LONG_QUERY_TIME="1" \
27+
-e QUERY_CACHE_TYPE="0" \
28+
-e QUERY_CACHE_SIZE="1M" \
29+
-e QUERY_CACHE_LIMIT="1M" \
30+
-e QUERY_CACHE_MIN_RES_UNIT="4K" \
31+
-e MAX_ALLOWED_PACKET="16M" \
32+
-e KEY_BUFFER_SIZE="16M" \
33+
-e KEY_BUFFER_SIZE="8" \
34+
-e INNODB_BUFFER_POOL_SIZE="128M" \
2735
-d \
28-
dockerizedrupal/mysql:1.1.1
36+
dockerizedrupal/mysql:1.2.0
2937

3038
## Build the image
3139

3240
TMP="$(mktemp -d)" \
3341
&& git clone https://github.com/dockerizedrupal/docker-mysql.git "${TMP}" \
3442
&& cd "${TMP}" \
35-
&& git checkout 1.1.1 \
36-
&& sudo docker build -t dockerizedrupal/mysql:1.1.1 . \
43+
&& git checkout 1.2.0 \
44+
&& sudo docker build -t dockerizedrupal/mysql:1.2.0 . \
3745
&& cd -
3846

3947
## Changing the container behaviour on runtime through environment variables

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.1
1+
1.2.0

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "1.1.1"
1+
VERSION = "1.2.0"
22

33
require 'yaml'
44

docker-compose.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
mysql:
2-
image: dockerizedrupal/mysql:1.1.1
2+
image: dockerizedrupal/mysql:1.2.0
33
hostname: mysql
44
ports:
55
- "3306:3306"
66
volumes_from:
77
- mysql-data
88
environment:
99
TIMEZONE: Etc/UTC
10-
GENERAL_LOG: 0
11-
SLOW_QUERY_LOG: 0
10+
GENERAL_LOG: 1
11+
SLOW_QUERY_LOG: 1
1212
LONG_QUERY_TIME: 1
13+
QUERY_CACHE_TYPE: 1
14+
QUERY_CACHE_SIZE: 1M
15+
QUERY_CACHE_LIMIT: 1M
16+
QUERY_CACHE_MIN_RES_UNIT: 4K
17+
MAX_ALLOWED_PACKET: 16M
18+
KEY_BUFFER_SIZE: 16M
19+
THREAD_CACHE_SIZE: 8
20+
INNODB_BUFFER_POOL_SIZE: 128M
1321
mysql-data:
14-
image: dockerizedrupal/mysql:1.1.1
22+
image: dockerizedrupal/mysql:1.2.0
1523
hostname: mysql-data
1624
entrypoint: ["/bin/echo", "Data-only container for MySQL."]
1725
volumes:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docker-mysql",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/dockerizedrupal/docker-mysql.git"

src/mysql/build/modules/build/files/etc/mysql/my.cnf

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,16 @@ skip-external-locking
2121
skip_name_resolve
2222
bind-address = 0.0.0.0
2323

24-
key_buffer_size = 16M
25-
max_allowed_packet = 16M
26-
thread_stack = 192K
27-
thread_cache_size = 8
24+
thread_stack = 256K
2825
myisam-recover-options = BACKUP
29-
query_cache_limit = 1M
30-
query_cache_size = 0
3126
expire_logs_days = 3
3227
max_binlog_size = 100M
3328

3429
[mysqldump]
3530
quick
3631
quote-names
37-
max_allowed_packet = 16M
3832

3933
[mysql]
40-
#no-auto-rehash # faster start of mysql but no tab completition
41-
42-
[isamchk]
43-
key_buffer_size = 16M
34+
no-auto-rehash
4435

4536
!includedir /etc/mysql/conf.d/

src/mysql/build/modules/build/files/etc/supervisor/conf.d/mysql_stderr.conf

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/mysql/build/modules/build/files/etc/supervisor/conf.d/mysql_stdout.conf

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/mysql/build/modules/build/manifests/mysql.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
class build::mysql {
22
require build::mysql::packages
33
require build::mysql::supervisor
4+
require build::mysql::logs
45

56
file { '/etc/mysql/my.cnf':
67
ensure => present,

0 commit comments

Comments
 (0)