Public | Automated Build

Last pushed: 7 months ago
Short Description
MM-REPOSADO
Full Description

MM-REPOSADO

The MM-REPOSADO Container contains [reposado] (https://github.com/wdas/reposado) and [margarita] (https://github.com/jessepeterson/margarita). It is based on Apache in an Ubuntu baseimage.
The Container updates its Catalogs every day and enables XProtect, Gatekeeper, Configuration Data and Security Update automatically on every Branche. The Data can be stored (what i recommend) in a seperate Container.

Features

  • Catalog Update every 1Day
  • Automatic enables Security Updates

For more information manageing reposado from the CLI, visit: [Docus from Reposado] (https://github.com/wdas/reposado/tree/master/docs)

Files & Directories

Directory Description
/usr/local/asus/ Location of Reposado and Margarita
/etc/apache2/sites-enabled/ Apache Config of Reposado and Apache
/srv/MMServiceData/MM-REPOSADO/DATA/reposado/ Catalog Directory
/srv/MMServiceData/MM-REPOSADO/DATA/CONF/preferences.plist Reposado Config File (Container copies this file to /usr/local/asus/reposado on startup)
/etc/cron.daily/repo_sync Syncs Repo and Updates Branches with Security Updates

Container

To fire up the Container use the following commands.

docker run --name=MM-REPOSADO-DATA -e DATAONLY=YES fabianhartmann/mm-reposado:develop
docker run -d -t -i --name=MM-REPOSADO -p 8088 -p 8089 --volumes-from MM-REPOSADO-DATA fabianhartmann/mm-reposado:develop

I use a Docker Cluster based on Rancher. To run Reposado in it, use this yml File:

REPOSADO:
  environment:
    VIRTUAL_HOST: asus.cloudata.ch
  command:
  - /srv/MM-REPOSADO.sh
  - init
  image: fabianhartmann/mm-reposado:develop
  volumes:
  - /data:/srv/MMServiceData/MM-REPOSADO
HA:
  ports:
  - 80:80
  labels:
    io.rancher.scheduler.global: 'true'
    io.rancher.loadbalancer.target.MARGARITA: masus.cloudata.ch:80=8089
    io.rancher.loadbalancer.target.REPOSADO: asus.cloudata.ch:80=8088
  tty: true
  image: rancher/load-balancer-service
  links:
  - MARGARITA:MARGARITA
  - REPOSADO:REPOSADO
  stdin_open: true
MARGARITA:
  environment:
    VIRTUAL_HOST: manage.cloudata.ch
  command:
  - /srv/MM-REPOSADO.sh
  - init
  image: fabianhartmann/mm-reposado:develop
  volumes:
  - /data:/srv/MMServiceData/MM-REPOSADO

Recources

Docker Pull Command
Owner
fabianhartmann
Source Repository

Comments (0)