Skip to content

Commit

Permalink
Decrease mariadb memory consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Oct 5, 2021
1 parent c676915 commit ebd9323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
max-size: "1024k"
max-file: "2"
mysql:
image: mariadb:10.5
image: mariadb:10.6
container_name: telegram-api-server-mysql
restart: unless-stopped
ports:
Expand All @@ -28,6 +28,7 @@ services:
- ./.mysql:/var/lib/mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
command: ["mysqld", "--innodb-buffer-pool-size=16M"]
networks:
default:
name: telegram-api-server

0 comments on commit ebd9323

Please sign in to comment.