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.
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:
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
3Start the stack
docker compose up -dGLPI automatically installs (or updates) its database schema on first start unless GLPI_SKIP_AUTOINSTALL is set to true.
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.