From 95ab5dad53fb10ae450536bbe8a00b5ea0ae7e96 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Fri, 3 Jan 2020 18:32:46 -0500 Subject: [PATCH] Created docker script to run mysql db for local development. --- 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..373f637 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' + + + +# mysql --port=3306 --host=127.0.0.1 -u root --password=password +services: + db: + image: mysql + command: --default-authentication-plugin=mysql_native_password + restart: always + environment: + MYSQL_ROOT_PASSWORD: password + ports: + - "3306:3306" + volumes: + - "./db:/var/lib/mysql" \ No newline at end of file