Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grahampugh/docker-mwa2
A Docker Container for Greg Neagle's MunkiWebAdmin2 web service
https://github.com/grahampugh/docker-mwa2
docker-container munki munkiwebadmin2
Last synced: 2 months ago
JSON representation
A Docker Container for Greg Neagle's MunkiWebAdmin2 web service
- Host: GitHub
- URL: https://github.com/grahampugh/docker-mwa2
- Owner: grahampugh
- Created: 2016-01-08T21:05:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T06:58:23.000Z (10 months ago)
- Last Synced: 2024-03-19T07:31:45.292Z (10 months ago)
- Topics: docker-container, munki, munkiwebadmin2
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-mwa2
==========This Docker container runs [MunkiWebAdmin2](https://github.com/munki/mwa2).
The container expects that your munki repo is mounted in `/munki_repo`.To retain data, you should also create a folder on your host for the SQLite database
to store its data.In order to function fully, munki-tools needs to be accessible (specifically,
the `makecatalogs` command). This is achievable
by running a munki container and linking it.Several options, such as the timezone and admin password are customisable using environment variables.
---
# Munki container
You can run a linked munki container as follows:
```bash
docker run -d --restart=always --name="munki" -v $MUNKI_REPO:/munki_repo \
-p 8000:80 -h munki groob/docker-munki
```This exposes the Munki repository at http://your-host:8000/repo. You could change the port 8000 to 80 if you are not running an existing web service on port 80.
The official guide on [linking containers](https://docs.docker.com/userguide/dockerlinks/) is very helpful.
---
# Image Creation
If you want to edit this container in any way, you can clone this repository, make your edits, and then build it as follows:
```
$ docker build -t grahamrpugh/mwa2 .
```---
# Running the MunkiWebAdmin2 Container
Run the following command. You need to set the host values of `$MUNKI_REPO` and
`$MWA2_DB` either in a script or by altering the command:```bash
docker run -d --restart=always --name mwa2 \
-p 8000:8000 \
-v $MUNKI_REPO:/munki_repo \
-v $MWA2_DB:/mwa2-db \
grahamrpugh/mwa2
```The default admin username is `admin` and the default password is `password`.