Install and run an GLPI instance with docker.
docker run --name glpi -p 80:80 -d slmitch/glpi
You can start a stack with this command
docker stack deploy glpi --compose-file stack.yml
With this stack file for example (I use folder /docker/volumes/glpi_plugins for my plugins, /docker/volumes/glpi_mysql for mysql data, /docker/volumes/glpi_files for all uploaded files and /docker/volumes/glpi_conf/ (with db config and glpicrypt key) you can see below)
version: '3.3'
services:
glpi:
image: slmitch/glpi
ports:
- 8042:80
volumes:
- /docker/volumes/glpi_conf:/var/www/html/config/
- /docker/volumes/glpi_plugins:/var/www/html/plugins
- /docker/volumes/glpi_files:/var/www/html/files
mysql:
image: mysql:5.7
volumes:
- /docker/volumes/glpi_mysql:/var/lib/mysql/
environment:
MYSQL_DATABASE: glpi
MYSQL_ROOT_PASSWORD: glpi
Content type
Image
Digest
Size
271.4 MB
Last updated
almost 6 years ago
docker pull slmitch/glpi