Browse Source

Use mariadb as dojo-db base image and low memory config

umbrel
Lounès Ksouri 3 years ago
parent
commit
0dca8d1fcc
No known key found for this signature in database GPG Key ID: F8DC83D24F68572D
  1. 4
      docker/my-dojo/mysql/Dockerfile

4
docker/my-dojo/mysql/Dockerfile

@ -1,7 +1,7 @@
FROM mysql:5.7.25 FROM mariadb:10.5.12
# Copy mysql config # Copy mysql config
COPY ./docker/my-dojo/mysql/mysql-dojo.cnf /etc/mysql/conf.d/mysql-dojo.cnf COPY ./docker/my-dojo/mysql/mysql-low_mem.cnf /etc/mysql/conf.d/mysql-dojo.cnf
# Copy update-db script # Copy update-db script
COPY ./docker/my-dojo/mysql/update-db.sh /update-db.sh COPY ./docker/my-dojo/mysql/update-db.sh /update-db.sh

Loading…
Cancel
Save