From 69d1b32c7ce684929d64b3a4d64da7908215911b Mon Sep 17 00:00:00 2001 From: george Date: Fri, 27 Feb 2026 13:49:09 +0200 Subject: [PATCH 1/2] Expose Mysql ports using docker compose -f docker-compose.yml -f mysql-ports-3307.yml up -d --- mysql-ports-3307.yml | 4 ++++ mysql-ports-3308.yml | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 mysql-ports-3307.yml create mode 100644 mysql-ports-3308.yml diff --git a/mysql-ports-3307.yml b/mysql-ports-3307.yml new file mode 100644 index 0000000..572b50f --- /dev/null +++ b/mysql-ports-3307.yml @@ -0,0 +1,4 @@ +services: + mysql: + ports: + - "3307:3306" \ No newline at end of file diff --git a/mysql-ports-3308.yml b/mysql-ports-3308.yml new file mode 100644 index 0000000..5a723d3 --- /dev/null +++ b/mysql-ports-3308.yml @@ -0,0 +1,4 @@ +services: + mysql: + ports: + - "3308:3306" \ No newline at end of file From 426bd085ad641a325b6537a6f328d0bfd0382220 Mon Sep 17 00:00:00 2001 From: george Date: Sun, 26 Jul 2026 15:30:30 +0300 Subject: [PATCH 2/2] Change moosh source --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f4c31c..fbfab6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,12 +43,10 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg \ curl \ exif -# Download and install Moosh -RUN cd /opt && \ - wget https://moodle.org/plugins/download.php/33902/moosh_moodle45_2024111400.zip && \ - unzip moosh_moodle45_2024111400.zip && \ - ln -s /opt/moosh/moosh.php /usr/local/bin/moosh && \ - rm moosh_moodle45_2024111400.zip # Clean up zip file +# Install Moosh (phar build straight from the upstream GitHub release) +RUN wget -q -O /usr/local/bin/moosh \ + https://github.com/tmuras/moosh/releases/download/phar-latest/moosh.phar \ + && chmod +x /usr/local/bin/moosh # Install Redis extension