fluentbit github release

This commit is contained in:
Andras Bacsai
2022-11-18 11:07:52 +01:00
parent 281146e22b
commit 714c264002
9 changed files with 99 additions and 8 deletions

View File

@@ -182,7 +182,7 @@ const host = '0.0.0.0';
setInterval(async () => {
await migrateServicesToNewTemplate()
}, 60000)
}, isDev ? 1000 : 60000)
setInterval(async () => {
await copySSLCertificates();

View File

@@ -17,7 +17,7 @@ import { day } from './dayjs';
import { saveBuildLog } from './buildPacks/common';
import { scheduler } from './scheduler';
export const version = '3.11.10';
export const version = '3.11.11';
export const isDev = process.env.NODE_ENV === 'development';
const algorithm = 'aes-256-ctr';

View File

@@ -82,7 +82,6 @@ export async function getServiceStatus(request: FastifyRequest<OnlyId>) {
if (containersArray.length > 0 && containersArray[0] !== '') {
const templates = await getTemplates();
let template = templates.find(t => t.type === service.type);
console.log(service.type)
const templateStr = JSON.stringify(template)
if (templateStr) {
template = JSON.parse(templateStr.replaceAll('$$id', service.id));