From ab3f3f06332d552899975da1afa7abe5834e3f0c Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:57:12 -0400 Subject: [PATCH] [F] Fix windows WSL2 volume bug --- README.md | 4 ++-- docker-compose.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5f4577df..af599202 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ Check out these docs for more information. > We're working on a migration guide, which will be released along with AquaDX v1 stable. 1. Install [Docker](https://www.docker.com/get-started/) -2. Download or clone this repo. ([Download](https://github.com/hykilpikonna/AquaDX/archive/refs/heads/v1-dev.zip) or `git clone https://github.com/hykilpikonna/AquaDX` -3. Run `docker-compose up` in the AquaDX folder. +2. Download or clone this repo. ([Download](https://github.com/hykilpikonna/AquaDX/archive/refs/heads/v1-dev.zip) or `git clone https://github.com/hykilpikonna/AquaDX`) +3. Run `docker compose up` in the AquaDX folder. ### Usage (Stable Old Version) diff --git a/docker-compose.yml b/docker-compose.yml index 3bce8eba..36ba9ef5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,8 +27,8 @@ services: MYSQL_PASSWORD: meow ports: - "127.0.0.1:3369:3306" - # There is an unfixed bug in Windows WSL2 that prevents volumes from working - # properly with mariadb. Please uncomment this on Linux / MacOS. - # Check https://stackoverflow.com/questions/76711550/i-get-an-error-on-mariadb-allways-i-start-my-app - # volumes: - # - ./data/db:/var/lib/mysql + volumes: + - mariadb_data:/var/lib/mysql + +volumes: + mariadb_data: \ No newline at end of file