From cab2c9674a1989ff774ff77ed048ccdb619e470e Mon Sep 17 00:00:00 2001 From: howardshand Date: Tue, 13 Jan 2026 15:07:54 -0500 Subject: [PATCH] feat(service): add glip template (#7937) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com> --- public/svgs/glpi.svg | 39 ++++++++++++++++++++++++++++ templates/compose/glpi.yaml | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 public/svgs/glpi.svg create mode 100644 templates/compose/glpi.yaml diff --git a/public/svgs/glpi.svg b/public/svgs/glpi.svg new file mode 100644 index 000000000..608e976c6 --- /dev/null +++ b/public/svgs/glpi.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/compose/glpi.yaml b/templates/compose/glpi.yaml new file mode 100644 index 000000000..c0b3201c9 --- /dev/null +++ b/templates/compose/glpi.yaml @@ -0,0 +1,51 @@ +# documentation: https://help.glpi-project.org/documentation +# slogan: GLPI (Gestionnaire Libre de Parc Informatique) is a free, open-source IT Service Management (ITSM) platform used for IT asset management, helpdesk, and service desk operations. +# category: helpdesk +# tags: helpdesk, ticketing, support, open-source +# logo: svgs/glpi.svg +# port: 80 + +services: + glpi: + image: glpi/glpi:11 + environment: + - SERVICE_URL_GLPI_80 + - GLPI_DB_HOST=glpi-db + - GLPI_DB_PORT=3306 + - GLPI_DB_NAME=${MYSQL_DATABASE:-glpi-db} + - GLPI_DB_USER=${SERVICE_USER_MYSQL} + - GLPI_DB_PASSWORD=${SERVICE_PASSWORD_MYSQL} + volumes: + - glpi-data:/var/glpi:rw + depends_on: + glpi-db: + condition: service_healthy + healthcheck: + test: + - CMD + - curl + - "-f" + - "http://localhost/" + interval: 30s + timeout: 10s + retries: 3 + + glpi-db: + image: mysql:8 + volumes: + - mysql-data:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_ROOT} + - MYSQL_DATABASE=${MYSQL_DATABASE:-glpi-db} + - MYSQL_USER=${SERVICE_USER_MYSQL} + - MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL} + healthcheck: + test: + - CMD + - mysqladmin + - ping + - "-h" + - 127.0.0.1 + interval: 5s + timeout: 20s + retries: 10