1. 27 Apr, 2021 1 commit
  2. 22 Apr, 2021 3 commits
    • Fergus Whyte's avatar
      Bug 1915366: Add docker-db-restore and docker-db-refresh convenience functions · 17df2a64
      Fergus Whyte authored
      Also fixes docker-bash
      Change-Id: I98a1b69c6412795f6bf75fe515b1b3431b8c1149
      17df2a64
    • Fergus Whyte's avatar
      Bug 1915366: Add changes to allow multiple docker instances on a single host · 725b448b
      Fergus Whyte authored
      This change Adds a nginx container and a shared group of containers.
      Additionally it adds commands for controlling the containers and
      determining the project name. This is requried to separate the
      contianers when multiple instances are deployed.
      
      Change-Id: I8a4ebecbb2a603632f901dce7260b032376ea8aa
      725b448b
    • Fergus Whyte's avatar
      Bug 1906596: Added a dev-mode docker compose file. · f63d818a
      Fergus Whyte authored
      Additionally added some instructions on how to use it.
      Fix some issues in the default .env file and the base mahara image so
      that it works with the instructions.
      
      Updated Makefile to use a single make target to stand up an environment.
      
      Updated docker-compose.dev.yaml to work with local volumes.
      
      Removed volume names for now. Revisit this when making it work for
      multiple environments.
      
      Added 'make up' and 'make down' for use after the environment has been
      built.
      
      Added 'up', 'down' and 'new-dev-environment' targets to the 'help'
      target.
      
      Refactored the 'help' target message for readability.
      
      Change-Id: I8f9a42f890b770eb2af9994658f7e09c31f644a7
      f63d818a
  3. 30 Sep, 2020 1 commit
    • Glenn Walbran's avatar
      Bug 1895201 Docker images for Mahara · 87e202ef
      Glenn Walbran authored
      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: I65af1231dc42684e596c6e23...
      87e202ef