Public | Automated Build

Last pushed: 15 days ago
Short Description
Docker image running GLPI with PHP5.6
Full Description

Docker GLPI


This images contains an instance of GLPI web application served by nginx on port 80

Docker Informations

  • This image expose the following port
Port Usage
80/tcp HTTP web application
  • This image takes theses environnements variables as parameters
Environment Type Usage
GLPI_REMOVE_INSTALLER boolean (yes/no) Set to yes if it's not the first installation of glpi
GLPI_PLUGINS string List of plugin to install (see below)

The GLPI_PLUGINS variable must contains the list of plugins to install (download) before start glpi.
This variable is a space separated list of plugins definitions. Each plugin definition must be like this "PLUGINNAME|URL".
The PLUGINNAME is the name of the first folder in plugin archive.
The URL is the full URL from which to download the plugin.
Theses two items are separated by a pipe symbol.

The GLPI_PLUGINS variable must follow the following skeleton GLPI_PLUGINS="NAME1|URL1 NAME2|URL2"
For better example see at the end of this file.

  • The following volume is exposed by this image
Volume Usage
/var/www/files The data path of GLPI
/var/www/config The configuration path of GLPI

Installation

  • Manual
git clone
docker build -t turgon37/glpi .
  • or Automatic
docker pull turgon37/glpi

Usage

docker run -p 8000:80 -v data-glpi:/var/www/files -v data-glpi-config:/var/www/config turgon37/glpi

Specific configuration examples

  • Production configuration with already installed GLPI with FusionInventory and dashboard plugin :
glpi:
  image: turgon37/glpi
  environment:
    - GLPI_REMOVE_INSTALLER=yes
    - "GLPI_PLUGINS=fusioninventory|https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi9.1%2B1.1/fusioninventory-for-glpi_9.1.1.1.tar.gz dashboard|https://forge.glpi-project.org/attachments/download/2185/GLPI-dashboard_plugin-0.8.4.tar.gz"
  ports:
    - 80
  volumes:
    - data-glpi-files:/var/www/files
    - data-glpi-config:/var/www/config
Docker Pull Command
Owner
turgon37
Source Repository

Comments (0)