lavanco / docker-glpi

A Dockerfile that installs GLPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-glpi

A Dockerfile that installs GLPI;

https://glpi-project.org/

Docker layers Docker Pulls Docker Build Status GitHub last commit

This image is based on CentOS operating system and contains the basic packages necessary for the operation of GLPI. Were also included the plugins:

Version

  • GLPI: 9.1.7.1
  • Dashboard plugin: 0.9.0
  • OCS Inventory plugin: 1.3.5

Get Docker Images

From Docker Hub (this image is ready to use):

# docker pull lavanco/glpi:9.1.7.1

From Github (it needs to build image first):

# git clone https://github.com/lavanco/docker-glpi.git

# cd docker-glpi/docker_file

# docker build -t lavanco/glpi:9.1.7.1 .

Usage

GLPI container using make (it needs to get repository from Github):

# cd docker-glpi

# make create-dep

# make app-up

See Makefile to see other options.

GLPI container using docker-compose (it needs to get repository from Github):

# cd docker-glpi

# docker network create -d bridge prod

# docker volume create glpi-data

# docker volume create mysql-data

# docker-compose -f compose/docker-compose.yml -p glpi-app up -d

GLPI container using docker run:

# docker network create -d bridge prod

# docker volume create mysql-data

# docker run \
       -d \
       --name mariadb -h mariadb \
       --env-file compose/db.env \
       -p 3306:3306 \
       -v mysql-data:/var/lib/mysql \
       -v /etc/localtime:/etc/localtime:ro \
       --network prod \
       mariadb:10.3.14

# docker volume create glpi-data

# docker run \
       -d \
       --name glpi -h glpi \
       -p 80:80 -p 443:443 \
       -v glpi-data:/var/www/html/glpi \
       -v /etc/localtime:/etc/localtime:ro \
       --network prod \
       lavanco/glpi:9.1.7.1

Access http://localhost and follow instructions to install GLPI.

About

A Dockerfile that installs GLPI

License:GNU General Public License v2.0


Languages

Language:Dockerfile 78.3%Language:Makefile 21.7%