aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-22 17:24:30 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-22 17:24:30 +0530
commit854cc0b53af56776fa967dd7793525eb0e22e051 (patch)
tree6b9aaefacab89282fc7d830d32f3ec863e4f0f5c /docker-compose.yml
parenta53505f8935fecedbc91589ab49002ee80f0bfa6 (diff)
added docker compose functionality for quick testing
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..33f5b2b
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,19 @@
+version: "2"
+services:
+ app:
+ build: .
+ links:
+ - db
+ ports:
+ - "8080:8080"
+ db:
+ image: mysql:8.0
+ ports:
+ - "32000:3306"
+ environment:
+ MYSQL_ROOT_PASSWORD: root
+ MYSQL_DATABASE: curie
+ MYSQL_USER: curieweb
+ MYSQL_PASSWORD: curie-web-uwu
+ volumes:
+ - ./db:/docker-entrypoint-initdb.d/:ro