Deploy and run GLPI (version >= 9.2) with Docker. Based on https://github.com/driket/docker-glpi
Install latest version by default but you can specify the version you want by passing
You can:
- link to an existing database.
- or create a new one easily with docker-compose.
docker build -t glpi .
docker run -it -d -p 80:80 glpi
docker-compose up -d
version: '2'
services:
glpi:
image: glpi
ports:
- "8090:80"
links:
- mysql:db
env_file:
- ./glpi.env
volumes:
- glpidata:/var/www/html/glpi
mysql:
image: mariadb
env_file:
- ./glpi.env
volumes:
- mysqldata:/var/lib/mysql
volumes:
glpidata:
mysqldata:
MYSQL_ROOT_PASSWORD=rootpasswd
MYSQL_DATABASE=glpi
MYSQL_USER=glpi
MYSQL_PASSWORD=glpipaswd
GLPI_SOURCE_URL=https://github.com/glpi-project/glpi/releases/download/9.2/glpi-9.2.tgz
docker-compose up -d
Open http://localhost:8090/ for setup first