Skip to content

Commit

Permalink
Merge pull request #77 from konfuciusu/docker/less-mysql-memory
Browse files Browse the repository at this point in the history
Менше споживання RAM від MySQL для локальної розробки
  • Loading branch information
yukoff authored Jul 18, 2017
2 parents d3382e2 + 3d445d7 commit 3143bce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ services:
restart: always
ports:
- "33061:3306"
command: |-
--performance_schema=0
--innodb_buffer_pool_size=32M
--key_buffer_size=8M
--query_cache_size=0
volumes:
- mysql:/var/lib/mysql
- ./install/sql/mysql.sql:/docker-entrypoint-initdb.d/mysql.sql
Expand Down

0 comments on commit 3143bce

Please sign in to comment.