Your Favourite Open Source Software?

InvisibleJim

Expert Member
Joined
Mar 9, 2011
Messages
1,879
Testing a couple of GLPI plugins in Docker Desktop on my PC this evening. Mainly FusionInventory for GLPI to see if I can use it instead of OCSInventory

1631735472964.png

1631735616591.png

No Tickets tonight :)
1631735872826.png

For anyone who wants to give it a go:

docker-compose.yml

YAML:
version: "3.2"
services:
  #Mysql Container
  mysql:
    image: mysql:5.7.34
    container_name: mysql
    hostname: mysql
    volumes:
      - ./mysql:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=${GLPI_MYSQL_ROOT_PASSWORD}
      - MYSQL_DATABASE=${GLPI_MYSQL_DATABASE}
      - MYSQL_USER=${GLPI_MYSQL_USER}
      - MYSQL_PASSWORD=${GLPI_MYSQL_PASSWORD}
    restart: always
    networks:
      - internal
  #GLPI Container
  glpi:
    image: diouxx/glpi
    container_name: glpi
    hostname: glpi
    ports:
      - "80:80"
    volumes:
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - ./glpi/:/var/www/html/glpi
    environment:
      - TIMEZONE=${TIMEZONE}
      - VERSION_GLPI=${VERSION_GLPI}
    restart: always
    depends_on:
      - mysql
    networks:
      - internal
      - web
networks:
  internal:
    external: false
  web:
    external:
      name: "web"

and .env

Code:
GLPI_MYSQL_ROOT_PASSWORD=My5up3rstrongP@55w0rd
GLPI_MYSQL_DATABASE=my_glpidb
GLPI_MYSQL_USER=my_glpi_user
GPLI_MYSQL_PASSWORD=My5up3rstrongP@55w0rd2
TIMEZONE=Africa/Johannesburg
VERSION_GLPI=9.5.5
 
Top