Deploy and run GLPI (any version) with Docker.
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-demo .
docker run -it -d -p 80:80 glpi-demo
You can deploy GLPI + database by creating 2 files:
- docker-compose.yml from docker-compose.sample.yml
- glpi.env from glpi.sample.env
docker-compose build
docker-compose up
Access your container with HTTP. Use infos you setup in glpi.env file
Nope, you can replace with mysql image in docker-compose.yml if prefer
Check docker-compose.sample.yml.
Basically, you need to create a data container that won't be destroyed at each deployment.
- Choose a version at: https://github.com/glpi-project/glpi/releases
- Copy URL and paste it in glpi.env:
GLPI_SOURCE_URL=https://github.com/glpi-project/glpi/releases/download/9.4.2/glpi-9.4.2.tgz
- Run
docker-compose build
- Run
docker-compose up