feat: configure named docker volumes

This commit is contained in:
a.bouhuolia
2023-04-04 00:31:41 +02:00
parent b24a367438
commit 65bb3a1cb8
3 changed files with 34 additions and 8 deletions

View File

@@ -2,8 +2,6 @@ FROM mysql:5.7
ADD my.cnf /etc/mysql/conf.d/my.cnf
RUN chown -R mysql:root /var/lib/mysql/
ARG MYSQL_DATABASE=default_database
ARG MYSQL_USER=default_user
ARG MYSQL_PASSWORD=secret