feat: add jellyfin template

This commit is contained in:
Samuel
2024-07-22 09:20:16 +03:00
parent ad696ea54a
commit 54aaa511d5
2 changed files with 13 additions and 7 deletions

View File

@@ -7,10 +7,13 @@ import {
} from "../utils";
export function generate(schema: Schema): Template {
const mainServiceHash = generateHash(schema.projectName);
const randomDomain = generateRandomDomain(schema);
const port = 8096;
const envs = [
`JELLYFIN_HOST=${randomDomain}`,
`HASH=${mainServiceHash}`,
`JELLYFIN_PORT=${port}`
];
return {