Sign inSign up

indication/glpi-ocsinventory

By indication

Updated almost 6 years ago

GLPI on H2O+php-FPM+fcgid+alpine with OCS Inventory NG plugin

Image
0

2.0K

indication/glpi-ocsinventory repository overview

docker-glpi-ocsinventory

Dockerfile for GLPI (github)

License

Except the codes from origin, anothers are WTFPL2. NO WARRANTY. If you use IPA font, you must agree IPA Font License Agreement v1.0.

Installation

Configure docker-compose.yml
  1. Change passwords and IDs
  2. Run docker-compose build
  3. Run docker-compose up -d
  4. Access from browser http://docker-host:82/glpi for GLPI

Current version

DockerPackageVersionNote
glpiGLPI9.5.2from github
glpiPlugin: ocsinventoryng1.7.0from github
glpiPlugin: browsernotification1.1.9from github
glpiPatch: LDAPS Patch-from github, Allow to connect LDAP SSL (not TLS)
glpiPHP(base)7.2-fpm-alpineOfficial
glpiH2O-alpine linux provided
glpiIPA fontVer.003.03IPA font license
glpidbMySQL5Minor version is not specified

GLPI on docker

Environment variables

KeyDescriptionExample
DB_HOSTMySQL hostnameglpidb
DB_DATABASEMySQL Database nameglpi
DB_USERNAMEMySQL user name for connectglpi
DB_PASSWORDMySQL password for connectglpipass
TZTimezoneAsia/Tokyo

Volumes

  • /var/lib/glpi
    • GLPI datastorage

Database

  • MySQL 5.x
  • MySQL 8.x may NOT work
  • You would be able to connect with mariadb

Port and HTTP requests

  • HTTP port to 80
  • Subdirectory: glpi
  • Recommend location behind reverse proxy (eg. nginx)

Setup

  • First user is glpi. Password is glpi.

... write more later....

Internals: cron

You do not need to call sync from external ways. The cron is working at this container.

CommandFrenquencyNote
cron.phpEvery 5 minutesglpi cron
glpi:ldap:synchronize_usersEvery 5 minutesSync to LDAP if set
(plugin)ocsng_fullsyncEvery 5 minutesOCS Inventory sync
(plugin)ocsng_snmpfullsyncEvery 5 minutesOCS Inventory sync

Security

  • Block access /glpi/config as 403
  • Hide x-powered-by

Tag summary

Content type

Image

Digest

Size

130.8 MB

Last updated

almost 6 years ago

docker pull indication/glpi-ocsinventory