Compare commits

...

10 Commits

Author SHA1 Message Date
Andras Bacsai
a58544b502 Merge pull request #813 from coollabsio/next
v3.12.8
2022-12-27 21:10:41 +01:00
Andras Bacsai
4d26175ebe omg, what have I done.. 2022-12-27 21:02:04 +01:00
Andras Bacsai
78f0e6ff6b Update package.json 2022-12-27 14:22:49 +01:00
Andras Bacsai
3af97af634 Update common.ts 2022-12-27 14:22:29 +01:00
Andras Bacsai
2c2663c8a4 Update common.ts 2022-12-27 14:20:19 +01:00
Andras Bacsai
1122b8a2f7 Update index.ts 2022-12-27 13:48:19 +01:00
Andras Bacsai
5b9f38948b Update index.ts 2022-12-27 13:46:33 +01:00
Andras Bacsai
507eb3b424 Update common.ts 2022-12-27 13:40:00 +01:00
Andras Bacsai
56fbc0ed6c Update package.json 2022-12-27 13:39:38 +01:00
Andras Bacsai
7aaad314e3 Update common.ts 2022-12-27 13:39:03 +01:00
3 changed files with 8 additions and 11 deletions

View File

@@ -156,10 +156,10 @@ const host = '0.0.0.0';
graceful.listen();
setInterval(async () => {
if (!scheduler.workers.has('deployApplication')) {
if (!scheduler.workers.has('deployApplication')) {
scheduler.run('deployApplication');
}
}, 60000 * 15);
}, 2000);
// autoUpdater
setInterval(async () => {
@@ -169,7 +169,7 @@ const host = '0.0.0.0';
// cleanupStorage
setInterval(async () => {
await cleanupStorage();
}, 2000);
}, 60000 * 15);
// checkProxies, checkFluentBit & refresh templates
setInterval(async () => {
@@ -574,7 +574,6 @@ async function cleanupStorage() {
const { capacity } = data[0];
if (capacity > 0.8) {
lowDiskSpace = true;
force = true;
}
}
} catch (error) {}

View File

@@ -19,7 +19,7 @@ import { saveBuildLog, saveDockerRegistryCredentials } from './buildPacks/common
import { scheduler } from './scheduler';
import type { ExecaChildProcess } from 'execa';
export const version = '3.12.5';
export const version = '3.12.8';
export const isDev = process.env.NODE_ENV === 'development';
export const sentryDSN =
'https://409f09bcb7af47928d3e0f46b78987f3@o1082494.ingest.sentry.io/4504236622217216';
@@ -584,7 +584,7 @@ export async function executeCommand({
}
if (sshCommand) {
if (shell) {
return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`, { shell: true });
return execaCommand(`ssh ${remoteIpAddress}-remote ${command}`);
}
return await execa('ssh', [`${remoteIpAddress}-remote`, dockerCommand, ...dockerArgs]);
}
@@ -651,13 +651,11 @@ export async function executeCommand({
} else {
if (shell) {
return await execaCommand(command, {
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine },
shell: true
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }
});
} else {
return await execa(dockerCommand, dockerArgs, {
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine },
shell: false
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }
});
}
}

View File

@@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
"version": "3.12.5",
"version": "3.12.8",
"license": "Apache-2.0",
"repository": "github:coollabsio/coolify",
"scripts": {