PHP 8.2 / apache2 OS latest / GLPI 11.0.1 - Install, update and run an GLPI instance with docker.
1.3K
Install, update and run an GLPI instance with docker PHP 8.2 / httpd OS latest / GLPI 10.0.10
| Login/Password | DB | SQL Server |
|---|---|---|
| root/glpi | glpi | mariadb |
More info in the 📄Docs
| Login/Password | Role |
|---|---|
| glpi/glpi | admin account |
| tech/tech | technical account |
| normal/normal | "normal" account |
| post-only/postonly | post-only account |
To remove the banner warning you have to remove the gpli install directory with the following command. (After gplpi setup wizard!)
docker exec -it glpi /removeInstall.sh
docker run --name mariadb -e TZ=Europe/Berlin -e MARIADB_ROOT_PASSWORD=glpi -e MARIADB_DATABASE=glpi -d mariadb:11.1.2
docker run --link mariadb:mariadb -e TZ=Europe/Berlin -p 80:80 --name glpi -d aalbng/glpi:latest
docker run -e TZ=Europe/Berlin -p 80:80 --name glpi -d aalbng/glpi:latest
For an usage on production environnement or daily usage, it's recommanded to use container with volumes to persistent data.
docker run --name mariadb -e TZ=Europe/Berlin -e MARIADB_ROOT_PASSWORD=glpi -e MARIADB_DATABASE=glpi --volume mysql:/var/lib/mysql -d mariadb:11.1.2
docker run --link mariadb:mariadb -e TZ=Europe/Berlin -p 80:80 --name glpi --volume glpi:/glpi/www -d aalbng/glpi:latest
services:
#MariaDB Container
mariadb:
image: mariadb:11.1.2
container_name: mariadb
hostname: mariadb
environment:
- TZ=Europe/Berlin
- MARIADB_ROOT_PASSWORD=glpi
- MARIADB_DATABASE=glpi
#GLPI Container
glpi:
image: aalbng/glpi:latest
container_name : glpi
hostname: glpi
ports:
- "80:80"
environment:
- TZ=Europe/Berlin
volumes:
mysql:
glpi:
services:
#MariaDB Container
mariadb:
image: mariadb:11.1.2
container_name: mariadb
hostname: mariadb
volumes:
- mysql:/var/lib/mysql
environment:
- TZ=Europe/Berlin
- MARIADB_ROOT_PASSWORD=glpi
- MARIADB_DATABASE=glpi
restart: always
#GLPI Container
glpi:
image: aalbng/glpi:latest
container_name : glpi
hostname: glpi
ports:
- "80:80"
volumes:
- glpi:/glpi/www
environment:
- TZ=Europe/Berlin
restart: always
To deploy, just run the following command on the same directory as files
docker-compose up -d
Content type
Image
Digest
sha256:e6f09ec2d…
Size
147.5 MB
Last updated
2 months ago
docker pull aalbng/glpi