MirrorNest
← Todas las guías

GLPI

GLPI is a mature, open-source IT service management and asset management platform combining a CMDB, help desk ticketing, and inventory tracking in one web application.

Sistema: Any Docker hostIT ManagementSitio oficial ↗Documentación oficial ↗
Esta guía se elaboró a partir de la documentación oficial de GLPI, enlazada arriba — verifica siempre ahí los nombres exactos de paquetes/versiones antes de ejecutar estos comandos en un servidor de producción, ya que las versiones de la distribución y del proyecto cambian con el tiempo.
  1. 1Create docker-compose.yml

    name: glpi services: glpi: image: "glpi/glpi:latest" restart: "unless-stopped" volumes: - glpi_data:/var/glpi env_file: .env depends_on: - db ports: - "80:80" db: image: "mysql" restart: "unless-stopped" volumes: - db_data:/var/lib/mysql environment: MYSQL_RANDOM_ROOT_PASSWORD: "yes" MYSQL_DATABASE: ${GLPI_DB_NAME} MYSQL_USER: ${GLPI_DB_USER} MYSQL_PASSWORD: ${GLPI_DB_PASSWORD} volumes: glpi_data: db_data:

  2. 2Create the .env file

    Define the database connection GLPI's entrypoint will use to auto-configure itself.

    GLPI_DB_HOST=db GLPI_DB_PORT=3306 GLPI_DB_NAME=glpi GLPI_DB_USER=glpi GLPI_DB_PASSWORD=glpi

  3. 3Start the stack

    docker compose up -d

    GLPI automatically installs (or updates) its database schema on first start unless GLPI_SKIP_AUTOINSTALL is set to true.

  4. 4First login

    Browse to http://localhost and complete any remaining setup screens.

    Default accounts after install are glpi/glpi (super-admin), tech/tech, normal/normal, and post-only/postonly — change or disable these immediately.