Skip to content

Commit

Permalink
Work around high memory usage docker-library/mysql#579
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Sep 7, 2023
1 parent c72aa41 commit f4d13f0
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 @@ -89,6 +89,11 @@ services:
env_file: ./docker/mysql.env
ports:
- "33066:3306"
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
volumes:
- ./docker/mysql-setup.sql:/docker-entrypoint-initdb.d/mysql-setup.sql:ro
- ./docker/test-setup.sql:/docker-entrypoint-initdb.d/test-setup.sql:ro
Expand Down

2 comments on commit f4d13f0

@diegosteiner
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Herzlichen Dank für den Fix @carlobeltrame

@jckoronati
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danke

Please sign in to comment.