Auto database creating
This commit is contained in:
parent
15f72cedd2
commit
2f0448513f
@ -5,6 +5,9 @@ services:
|
|||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
restart: always
|
restart: always
|
||||||
|
command: --init-file /data/application/init.sql
|
||||||
|
volumes:
|
||||||
|
- ./init.sql:/data/application/init.sql
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: example
|
MYSQL_ROOT_PASSWORD: example
|
||||||
expose:
|
expose:
|
||||||
|
Loading…
Reference in New Issue
Block a user