Skip to content

MyTardis configuration and deployment for The University of Western Australia

License

Notifications You must be signed in to change notification settings

UWA-FoS/mytardis-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mytardis-deployment

Getting started

  1. Ensure you have installed:
  2. VirtualBox - Ensure that you include the Extension Pack
  3. Vagrant - Vagrant plugins:
    • vbguest {run: vagrant plugin install vagrant-vbguest}
  4. Use git to clone the development code into your prefered sandbox location
  1. Build the base Docker server and log in
  • vagrant up
  • vagrant ssh
  1. Start a tmux session. Tmux has been installed to allow multiple terminals
  • tmux
  1. Copy the template.env.XXXX files removing the "template." prefix and add your deployments relevant settings. If you do not intend to implement these features then remove the entry in the docker-compose.yml referencing the environment file under "env_file:"
  2. Build the mytardis application image
  • cd ~/sync/mytardis
  • docker-compose build
  1. Start the MyTardis application
  • docker-compose up
  1. Change to another terminal and configure an administrator account
  • Press <Ctrl>+B C
  • docker exec -it mytardis_app_1 /bin/bash
  • python mytardis.py createsuperuser
  1. From your host machine start a browser and enter the following URI

You should now see the MyTardis home page.

NB: this is a full build environment for Docker containers to be deployed on a Docker cluster NOT for production directly.

Enjoy.

NB: You should ensure that you configure the mytardis docker-compose.yml file for your deployment

Project: MyTardis

The University of Western Australia
Faculty of Science
Development and testing environment

Pre-requisits:

  • VirtualBox
  • Vagrant
    • Vagrant plugins:
      • vbguest {run: vagrant plugin install vagrant-vbguest}

Notes:

MyTardis application

  • Runs in Docker container
  • ubuntu 14.04
  • Gunicorn
  • exposes port 8000
  • This implementation is not to be exposed to the web directly but housed behind a web accelerator

MyTardis static content

  • Runs in Docker container
  • Nginx web service with direct loading of static content
  • common read-only Docker volume with MyTardis application container

Nginx web accelerator

  • Hosted in own VM to simulate a corporate HA/load balanced web accelerator configuration
  • Could be replaced with Apache, F5's or any other service
  • Configured using Puppet, settings in hiera

File server

  • Still to be implemented, current config uses local file storage
  • Production environment has been configured with cifs to EMC Isilon (To be documented) implemented with docker volume abstraction layer (docker-volume-netshare plugin).

Docker host

  • Configured using Puppet, settings in hiera.

The build of MyTardis application and MyTardis static Docker containers is in appropriate Dockerfiles Currently the configuration and deployment of the MyTardis and MyTardis static docker images is done with docker-compose.

About

MyTardis configuration and deployment for The University of Western Australia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published