Docker autobuild repository for https://github.com/sphen13/munkireport-php-docker
243
Autobuild repository for https://github.com/bruienne/macadmins-munkireport-php/
Contains Dockerfile and other needed files to create a munkireport-php image.
The main munkireport-php repository is here: https://github.com/munkireport/munkireport-php
Part of the Macadmins Docker project: https://registry.hub.docker.com/u/macadmins
Start the MR-PHP container as follows:
docker run -d -v /var/www/munkireport/app/db -p 80:80 macadmins/munkireport-php
This will create a persistent storage volume on your Docker host and in the MR-PHP container. The database will be created there and persist after the container is stopped or removed.
The default login/password is admin/admin - this can be changed by volume-binding your own config.php with a different admin password hash:
docker run -d -v /var/www/munkireport/app/db -v /path/to/your/config.php:/var/www/munkireport/app/config.php -p 80:80 macadmins/munkireport-php
The line to add looks like this (this is the password hash in the image):
$auth_config['admin'] = '$P$BDnkPOMPV0BMGL7YROrT9ITzwk3ZWz/';
The config_default.php file is sourced for initial settings. The above method will also apply if you wish to provide your own configuration for the MR-PHP application. Simply bind-mount the config.php file with your modifications.
The following variables are exposed for configuration via environment:
SITENAME: The name of your site, displayed in the title.ADMIN_PASSWORD: If you are using local authentication ONLY, the password hash for the admin account. Default is
the password admin.MODULES: A comma delimited list of enabled modules.IP_RANGES: A comma delimited list of ip ranges to show in the network module.ALLOW_MIGRATIONS: Set to TRUE to allow database schema migrations (upgrades).ENABLE_BUSINESS_UNITS: Set to TRUE to enable business unit functionality.CLIENT_PASSPHRASES: A comma delimited list of accepted passphrases.APPS_TO_TRACK: A comma delimited list of application names to display on the applications report.AUTH_AD_DOMAIN_CONTROLLERS: A comma delimited list of domain controllers to contact for authentication.AUTH_AD_ACCOUNT_SUFFIX: The UPN suffix eg. @domain.local.AUTH_AD_BASE_DN: The base DN for binding, eg. DC=domain,DC=local. If not set will be auto detected.AUTH_AD_ADMIN_USERNAME: The username to use if unauthenticated queries are not allowed.AUTH_AD_ADMIN_PASSWORD: The password to use if unauthenticated queries are not allowed.AUTH_AD_ALLOWED_USERS: A comma delimited list of users who are allowed access.AUTH_AD_ALLOWED_GROUPS: A comma delimited list of AD groups who are allowed access.Content type
Image
Digest
Size
165.2 MB
Last updated
almost 9 years ago
docker pull sphen/munkireport-php