mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
20 lines
311 B
TypeScript
20 lines
311 B
TypeScript
import {
|
|
type DomainSchema,
|
|
type Schema,
|
|
type Template,
|
|
generateRandomDomain,
|
|
} from "../utils";
|
|
|
|
export function generate(schema: Schema): Template {
|
|
const domains: DomainSchema[] = [
|
|
{
|
|
host: generateRandomDomain(schema),
|
|
port: 3000,
|
|
serviceName: "grafana",
|
|
},
|
|
];
|
|
return {
|
|
domains,
|
|
};
|
|
}
|