← Back to team overview

mahara-contributors team mailing list archive

[Bug 1895201] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11312
Committed: https://git.mahara.org/mahara/mahara/commit/0a295cbddd490ad63f94ae0e36473ba60c5ccfe4
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    20.10_STABLE

commit 0a295cbddd490ad63f94ae0e36473ba60c5ccfe4
Author: Glenn Walbran <glennw@xxxxxxxxxxxxxxx>
Date:   Mon Aug 17 14:30:47 2020 +1200

Bug 1895201 Docker images for Mahara

This commit adds docker images for building, testing and running Mahara.
The images are:
- mahara-base, has packages that are needed to both run and test Mahara.
Base of an ubuntu base image.
- mahara-builder, image to be used for building and testing Mahara. Extends
mahara-base and adds packages needed for building and testing
- mahara, image used for running Mahara. Has the Mahara code (that has
already been built) baked into it.

Things to note:
- The configuration in the docker images is driven by environment variables.
htdocs/config-environment.php is a config file variant that will look for
config in from the environment variables else fall back to a default value.
This file is copied to config.php as part of creating the mahara image.
- The mahara image only has support for http. If https is required (which is
recommended) then this should be done by adding a reverse proxy whose job
is to terminate the https.

Change-Id: I65af1231dc42684e596c6e236fcf1de166d1abc7
(cherry picked from commit 87e202ef3cf55365fb42e285962c6f4e16bbfc7f)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1895201

Title:
  Make Mahara available via Docker

Status in Mahara:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed
Status in Mahara 21.04 series:
  Fix Committed

Bug description:
  With more and more people using the cloud and containers to set up
  their applications, it would be good if Mahara were available via
  Docker. That also includes being able to run Behat tests via Docker.

  Separate services are set up via distinct containers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1895201/+subscriptions


References