Skip to content
Snippets Groups Projects

GLPI

This is a git repository to install GLPI via docker-compose

Requirements

Installation

git clone https://gitlab.tetras-libre.fr/nocloud/docker/glpi
cd glpi
cp .env.sample .env
# Edit .env file and follow instructions
$EDITOR .env
docker-compose up #or docker compose up if you use compose V2

Then go to GLPI web interface, by default http://localhost:8888 and follow the instructions.

The database instructions are :

  • Host : db
  • USER : glpi (default value, may be modified by MYSQL_USER in .env
  • PASSWORD : see MYSQL_PASSWORD in .env

When GPI asks you to create or use a database you should see a selectable database named glpi (or something else if you changed MYSQL_DATABASE in .env), use it.

When you finally see GLPI login page restart the stack to cleanup install files :

docker-compose down
docker-compose up

You are ready to setup your GLPI.

For the database, the SQL server is simply db, the sql user is glpi and the SQL password is the MYSQL_PASSWORD in your .env

Utilisation

At the end of the configuration GLPI automatically creates the following accounts

  • glpi/glpi for administration
  • tech/tech technician
  • normal/normal regular account
  • post-only/postonly write only account