diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-22 17:24:30 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-22 17:24:30 +0530 |
commit | 854cc0b53af56776fa967dd7793525eb0e22e051 (patch) | |
tree | 6b9aaefacab89282fc7d830d32f3ec863e4f0f5c /docker-compose.yml | |
parent | a53505f8935fecedbc91589ab49002ee80f0bfa6 (diff) |
added docker compose functionality for quick testing
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 19 |
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 |