mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: add ontime template
This commit is contained in:
BIN
apps/dokploy/public/templates/ontime.png
Normal file
BIN
apps/dokploy/public/templates/ontime.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
14
apps/dokploy/templates/ontime/docker-compose.yml
Normal file
14
apps/dokploy/templates/ontime/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
ontime:
|
||||||
|
image: getontime/ontime:v3.8.0
|
||||||
|
expose:
|
||||||
|
- 4001
|
||||||
|
- 8888
|
||||||
|
- 9999
|
||||||
|
volumes:
|
||||||
|
- ontime-data:/data/
|
||||||
|
environment:
|
||||||
|
- TZ
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
ontime-data:
|
||||||
25
apps/dokploy/templates/ontime/index.ts
Normal file
25
apps/dokploy/templates/ontime/index.ts
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
import {
|
||||||
|
type DomainSchema,
|
||||||
|
type Schema,
|
||||||
|
type Template,
|
||||||
|
generateRandomDomain,
|
||||||
|
} from "../utils";
|
||||||
|
|
||||||
|
export function generate(schema: Schema): Template {
|
||||||
|
const mainDomain = generateRandomDomain(schema);
|
||||||
|
|
||||||
|
const domains: DomainSchema[] = [
|
||||||
|
{
|
||||||
|
host: mainDomain,
|
||||||
|
port: 4001,
|
||||||
|
serviceName: "ontime",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
const envs = ["TZ=UTC"];
|
||||||
|
|
||||||
|
return {
|
||||||
|
domains,
|
||||||
|
envs,
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -942,4 +942,19 @@ export const templates: TemplateData[] = [
|
|||||||
tags: ["media", "tracking", "self-hosted"],
|
tags: ["media", "tracking", "self-hosted"],
|
||||||
load: () => import("./ryot/index").then((m) => m.generate),
|
load: () => import("./ryot/index").then((m) => m.generate),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "ontime",
|
||||||
|
name: "Ontime",
|
||||||
|
version: "v3.8.0",
|
||||||
|
description:
|
||||||
|
"Ontime is browser-based application that manages event rundowns, scheduliing and cuing",
|
||||||
|
logo: "ontime.png",
|
||||||
|
links: {
|
||||||
|
github: "https://github.com/cpvalente/ontime/",
|
||||||
|
website: "https://getontime.no",
|
||||||
|
docs: "https://docs.getontime.no",
|
||||||
|
},
|
||||||
|
tags: ["event"],
|
||||||
|
load: () => import("./ontime/index").then((m) => m.generate),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user