9.2.1
, latest
9.1.5
9.1.3
9.1.2
9.1.1
GLPI (formely Gestion Libre de Parc Infortique) is the most free & open source IT asset and service management tool available on the web.
It supports various languages, provides a configuration management database for various devices (CMDB for computer, software, printers, etc.) and enables an online administration interface to manage assets and tickets via a Webrowser.
GLPI can leverage LDAP protocol to manage the access and supports IMAP protocol to let end-users to create issues via email.
- Implement Crontab for GPLI Scheduler
The Dockerfile builds from "php:5-apache (see https://hub.docker.com/_/php/)
This image does not leverage embedded database
Run a supported database container with persistent storage (i.e. MySQL, MariaDB).
docker volume create "glpi-db"
docker run --name='glpi-md' -d \
--restart=always \
-e MYSQL_DATABASE=glpi \
-e MYSQL_ROOT_PASSWORD=V3rY1ns3cur3P4ssw0rd \
-e MYSQL_USER=glpi \
-e MYSQL_PASSWORD=V3rY1ns3cur3P4ssw0rd \
-v glpi-db:/var/lib/mysql \
-v glpi-dblog:/var/log/mysql \
-v glpi-etc:/etc/mysql \
mariadb
Run the GLPI container exposing internal port 80 with persistent storage for files folder (i.e for Software deployment packages).
docker volume create "glpi-files"
docker run --name='files' -d \
--restart=always \
-p 32706:80 \
-v glpi-files:/var/www/html/files \
--links glpi-md:mysql \
fjudith/glpi
- Start a web browser session to http://ip:port
- Select your language, then click OK.
- Select I have read and ACCEPT the terms of the license written above. option, then click Continue.
- Click on Install.
- Review the requirement check-list, then click Continue.
- Full-fill the following fields:
- SQL server (MariaDB or MySQL): mysql
- Database user: glpi
- Database password: V3rY1ns3cur3P4ssw0rd
- Then click Continue.
- Select
glpi
database, then click Continue. - Confirm that message
OK - database was initialized
appears, then click Continue. - Click on Use GLPI.
- Logon as
glpi
with passwordglpi
.
You can use docker compose to automate the above command if you create a file called docker-compose.yml and put in there the following:
version: '2'
volumes:
glpi-db:
glpi-files:
glpi-plugins:
services:
glpi-md:
image: amd64/mariadb:5.5
environment:
MYSQL_DATABASE: glpi
MYSQL_PASSWORD: V3ry1nS3cur3P4ssW0rd
MYSQL_ROOT_PASSWORD: V3ry1nS3cur34ls0
MYSQL_USER: glpi
volumes:
- glpi-db:/var/lib/mysql
ports:
- 32806:3306/tcp
glpi:
build: ./
image: fjudith/glpi:9.2.1-apache
volumes:
- glpi-files:/var/www/html/files
- glpi-plugins:/var/www/html/plugins
links:
- glpi-md:mysql
ports:
- 32706:80/tcp
And run:
docker-compose up -d