Sign inSign up

slmitch/glpi

By slmitch

Updated over 2 years ago

glpi

Image
1

50K+

slmitch/glpi repository overview

Project to deploy GLPI with docker

Install and run an GLPI instance with docker.

Deploy GLPI without database

docker run --name glpi -p 80:80 -d slmitch/glpi

Deploy GLPI stack, with a database

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

Tag summary

Content type

Image

Digest

Size

271.4 MB

Last updated

almost 6 years ago

docker pull slmitch/glpi