Skip to content

Commit

Permalink
Merge pull request #64 from jmhardison/updaterun-2022
Browse files Browse the repository at this point in the history
Updaterun 2022
  • Loading branch information
jmhardison committed Oct 8, 2022
2 parents a51ef95 + a43448a commit de5c17a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get update && apt-get upgrade -y && \
php-gd libapache2-mod-php postfix wget supervisor php-pgsql curl libcurl4 \
libcurl3-dev php-curl php-xmlrpc php-intl php-mysql git-core php-xml php-mbstring php-zip php-soap cron php-ldap && \
cd /tmp && \
git clone -b MOODLE_311_STABLE git://git.moodle.org/moodle.git --depth=1 && \
git clone -b MOODLE_400_STABLE git://git.moodle.org/moodle.git --depth=1 && \
mv /tmp/moodle/* /var/www/html/ && \
rm /var/www/html/index.html && \
chown -R www-data:www-data /var/www/html && \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ A Dockerfile that installs and runs the latest Moodle stable, with external MySQ
`Note: DB Deployment uses version 5 of MySQL. MySQL:Latest is now v8.`

Tags:
* latest - 3.11 stable
* latest - 4.0 stable
* v4.0 - 4.0 stable
* v3.11 - 3.11 stable
* v3.8 - 3.8 stable
* v3.7 - 3.7 stable
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
deploy:
replicas: 1
restart_policy:
condition: any
condition: on-failure
moodleapp:
image: jhardison/moodle:latest
links:
Expand All @@ -34,7 +34,7 @@ services:
deploy:
replicas: 1
restart_policy:
condition: any
condition: on-failure

volumes:
db-volume:
Expand Down

0 comments on commit de5c17a

Please sign in to comment.