mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Increase nextcloud database innodb_buffer_pool_size to 2GB
This commit is contained in:
parent
63ae9eab21
commit
c4cf50fa88
2 changed files with 4 additions and 0 deletions
3
roles/nextcloud-docker/files/nextcloud/db/custom.cnf
Normal file
3
roles/nextcloud-docker/files/nextcloud/db/custom.cnf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[mysqld]
|
||||||
|
innodb_buffer_pool_size=2G
|
||||||
|
|
||||||
|
|
@ -43,6 +43,7 @@ services:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/mariadb/nextcloud:/var/lib/mysql
|
- /var/lib/mariadb/nextcloud:/var/lib/mysql
|
||||||
|
- ./db/custom.cnf:/etc/mysql/conf.d/custom.cnf
|
||||||
- /backups/nextcloud:/backups
|
- /backups/nextcloud:/backups
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue