Merge pull request #760 from henriklovhaug/canary

feat: add ontime template
This commit is contained in:
Mauricio Siu
2024-11-26 22:26:04 -06:00
committed by GitHub
4 changed files with 62 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,14 @@
services:
ontime:
image: getontime/ontime:v3.8.0
ports:
- 4001
- 8888
- 9999
volumes:
- ontime-data:/data/
environment:
- TZ
restart: unless-stopped
volumes:
ontime-data:

View 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,
};
}

View File

@@ -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),
},
]; ];