Skip to content

Commit 4e4017f

Browse files
committed
MySQL configuration improvements
1 parent 7378752 commit 4e4017f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ magento2
55
data
66
letsencrypt
77
.env
8+
mysql/db

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ services:
9494
- "traefik.docker.network=magento"
9595
volumes:
9696
- ./mysql/mysqld.cnf:/etc/mysql/conf.d/mysqld.cnf
97+
- ./mysql/db:/var/lib/mysql
9798
environment:
9899
MYSQL_DATABASE: 'magento_db'
99100
MYSQL_ROOT_PASSWORD: 'root_pass'

0 commit comments

Comments
 (0)