We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07966fe + be48ba0 commit 8b5a86cCopy full SHA for 8b5a86c
docker-compose.yml
@@ -80,8 +80,9 @@ services:
80
- internal
81
platform: linux/amd64
82
volumes:
83
+ - $APP_DIRECTORY/images/mysql/init:/docker-entrypoint-initdb.d
84
- mysql:/var/lib/mysql
- - ./images/mysql/custom.my.cnf:/etc/mysql/conf.d/custom.my.cnf
85
+ - $DOCKER_DIRECTORY/images/mysql/custom.my.cnf:/etc/mysql/conf.d/custom.my.cnf
86
87
adminer:
88
build:
images/mysql/init/.gitignore
@@ -0,0 +1,3 @@
1
+.
2
+
3
+!.gitignore
images/mysql/init/custom.sql
@@ -0,0 +1,5 @@
+-- You can create new databases here, etc....
+-- Example:
4
+-- CREATE DATABASE IF NOT EXISTS `another_db`;
5
+-- GRANT ALL ON `another_db`.* TO 'magento'@'%';
0 commit comments