Giter Site home page Giter Site logo

munkireport-php-1's Introduction

macadmins/munkireport-php

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

Run instructions

Start the MR-PHP container as follows:

docker run -d -v /var/html/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/html/app/db -v /path/to/your/config.php:/var/html/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.

Environment Variables

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.

Active Directory Authentication

  • 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.

munkireport-php-1's People

Contributors

bochoven avatar bruienne avatar mosen avatar orbsmiv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.