Хочу персистентную БД

actency-mysql57-replication
Andrey Ivanov 2021-01-29 16:11:33 +03:00 committed by ya@tiburon.su
parent d1afee353e
commit a6ea61c746
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ services:
MYSQL_USER: app
MYSQL_PASSWORD: app
volumes:
- /opt/mysql:/var/lib/mysql
- ./dbinit:/docker-entrypoint-initdb.d
ports:
- "3306:3306"