add docker-compose
parent
72232d7c78
commit
6a9b6a3c9f
@ -0,0 +1,16 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: mariadb
|
||||||
|
container_name: db
|
||||||
|
environment:
|
||||||
|
- MARIADB_ROOT_PASSWORD=secret
|
||||||
|
- MARIADB_DATABASE=mx
|
||||||
|
|
||||||
|
app:
|
||||||
|
build: .
|
||||||
|
container_name: app
|
||||||
|
depends_on:
|
||||||
|
- db
|
Loading…
Reference in New Issue