Merge pull request #1039 from CyberHotline/canary

Added GLPI template
This commit is contained in:
Mauricio Siu 2025-01-05 14:50:09 -06:00 committed by GitHub
commit 7a4ee76eb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 63 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,28 @@
services:
glpi-mysql:
image: mysql:9.1.0
restart: always
volumes:
- glpi-mysql-data:/var/lib/mysql
networks:
- dokploy-network
glpi-web:
image: elestio/glpi:10.0.16
restart: always
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- glpi-www-data:/var/www/html/glpi
environment:
- TIMEZONE=Europe/Brussels
networks:
- dokploy-network
volumes:
glpi-mysql-data:
glpi-www-data:
networks:
dokploy-network:
external: true

View File

@ -0,0 +1,20 @@
import {
type DomainSchema,
type Schema,
type Template,
generateRandomDomain,
} from "../utils";
export function generate(schema: Schema): Template {
const randomDomain = generateRandomDomain(schema);
const domains: DomainSchema[] = [
{
host: randomDomain,
port: 80,
serviceName: "glpi-web",
},
];
return {
domains,
};
}

View File

@ -1167,6 +1167,21 @@ export const templates: TemplateData[] = [
load: () => import("./unifi/index").then((m) => m.generate),
},
{
id: "glpi",
name: "GLPI Project",
version: "10.0.16",
description:
"The most complete open source service management software",
logo: "glpi.webp",
links: {
github: "https://github.com/glpi-project/glpi",
website: "https://glpi-project.org/",
docs: "https://glpi-project.org/documentation/",
},
tags: ["self-hosted", "project-management", "management"],
load: () => import("./glpi/index").then((m) => m.generate),
},
{
id: "checkmate",
name: "Checkmate",
version: "2.0.1",