Хочу персистентную БД
parent
d1afee353e
commit
a6ea61c746
|
@ -12,6 +12,7 @@ services:
|
||||||
MYSQL_USER: app
|
MYSQL_USER: app
|
||||||
MYSQL_PASSWORD: app
|
MYSQL_PASSWORD: app
|
||||||
volumes:
|
volumes:
|
||||||
|
- /opt/mysql:/var/lib/mysql
|
||||||
- ./dbinit:/docker-entrypoint-initdb.d
|
- ./dbinit:/docker-entrypoint-initdb.d
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
|
Loading…
Reference in New Issue