Sign inSign up

alekho/glpi

By alekho

Updated about 4 years ago

This is not an official GLPI image.

Image
0

180

alekho/glpi repository overview

This is not an official GLPI image. The image is built on the basis of Nginx, PHP 8.1 and the original GLPI 10.0.2 distribution. To run, use docker-compose:

docker-compose

version: '3'

services:

  mysql:
    image: mariadb:10.9.2
    container_name: glpi-db
    networks:
      - glpi
    volumes:
      - ./mysql:/var/lib/mysql
      - /etc/localtime:/etc/localtime:ro
    environment:
      - MARIADB_ROOT_PASSWORD=glpi
      - MARIADB_PASSWORD=glpi
      - MARIADB_USER=glpi
      - MARIADB_DATABASE=glpi
    restart: unless-stopped

  glpi:
    image: alekho/glpi:10.0.2
    container_name: glpi-10
    networks:
      - glpi
    depends_on:
      - mysql
    volumes:
      - ./glpi:/etc/nginx/sites-available/glpi:rw
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    ports:
      - 80:80

networks:
  glpi:

To connect the database, specify glpi-db as the host.

After installation, we delete install.php : docker exec -ti rm /var/www/glpi/install/install.php

Tag summary

Content type

Image

Digest

sha256:1d60c8421

Size

174.2 MB

Last updated

about 4 years ago

docker pull alekho/glpi