From 6a9b6a3c9f4cf0df99bb984d60c6b3154db35286 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Tue, 1 Nov 2022 13:53:06 +0530 Subject: [PATCH] add docker-compose --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..222428d --- /dev/null +++ b/docker-compose.yml @@ -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