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