add: dockercompose for database
This commit is contained in:
parent
f05103ec37
commit
479eb20ded
|
@ -0,0 +1,14 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: root
|
||||||
|
MYSQL_DATABASE: deploy
|
||||||
|
volumes:
|
||||||
|
- data:/var/lib/mysql
|
||||||
|
ports:
|
||||||
|
- '3306:3306'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
Loading…
Reference in New Issue