mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
BIN
apps/dokploy/public/templates/glpi.webp
Normal file
BIN
apps/dokploy/public/templates/glpi.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
28
apps/dokploy/templates/glpi/docker-compose.yml
Normal file
28
apps/dokploy/templates/glpi/docker-compose.yml
Normal 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
|
||||||
20
apps/dokploy/templates/glpi/index.ts
Normal file
20
apps/dokploy/templates/glpi/index.ts
Normal 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,
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1167,6 +1167,21 @@ export const templates: TemplateData[] = [
|
|||||||
load: () => import("./unifi/index").then((m) => m.generate),
|
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",
|
id: "checkmate",
|
||||||
name: "Checkmate",
|
name: "Checkmate",
|
||||||
version: "2.0.1",
|
version: "2.0.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user