feat: add ontime template

This commit is contained in:
Henrik Tøn Løvhaug 2024-11-25 13:07:20 +01:00
parent ac33b6b6a1
commit cbfd09786a
No known key found for this signature in database
GPG Key ID: EB650CC0EDC3BFC3
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
expose:
- 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

@ -881,8 +881,8 @@ export const templates: TemplateData[] = [
},
tags: ["forum", "community", "discussion"],
load: () => import("./discourse/index").then((m) => m.generate),
},
{
},
{
id: "immich",
name: "Immich",
version: "v1.121.0",
@ -896,8 +896,8 @@ export const templates: TemplateData[] = [
},
tags: ["photos", "videos", "backup", "media"],
load: () => import("./immich/index").then((m) => m.generate),
},
{
},
{
id: "twenty",
name: "Twenty CRM",
version: "latest",
@ -911,8 +911,8 @@ export const templates: TemplateData[] = [
},
tags: ["crm", "sales", "business"],
load: () => import("./twenty/index").then((m) => m.generate),
},
{
},
{
id: "yourls",
name: "YOURLS",
version: "1.9.2",
@ -926,8 +926,8 @@ export const templates: TemplateData[] = [
},
tags: ["url-shortener", "php"],
load: () => import("./yourls/index").then((m) => m.generate),
},
{
},
{
id: "ryot",
name: "Ryot",
version: "v7.10",
@ -942,4 +942,19 @@ export const templates: TemplateData[] = [
tags: ["media", "tracking", "self-hosted"],
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),
},
];