Updates
This commit is contained in:
@@ -98,5 +98,7 @@ export default function grabDirNames(param?: Param): {
|
||||
dsqlDbDockerComposeFileAlt: string;
|
||||
dsqlDbDockerComposeFileName: string;
|
||||
dsqlDbDockerComposeFileNameAlt: string;
|
||||
tempBackupExportName: string;
|
||||
opsJSONFileName: string;
|
||||
};
|
||||
export {};
|
||||
|
||||
@@ -153,6 +153,8 @@ function grabDirNames(param) {
|
||||
const distroEnterpriseExportTarName = `${distroEnterpriseName}.tar.xz`;
|
||||
const communityDistroTempDir = path_1.default.resolve(appDir, "build", "community", ".tmp");
|
||||
const communityDistroDir = path_1.default.resolve(communityDistroTempDir, distroDirName);
|
||||
const tempBackupExportName = "tmp-export-backup.tar.xz";
|
||||
const opsJSONFileName = "ops.json";
|
||||
return {
|
||||
appDir,
|
||||
privateDataDir,
|
||||
@@ -246,5 +248,7 @@ function grabDirNames(param) {
|
||||
dsqlDbDockerComposeFileAlt,
|
||||
dsqlDbDockerComposeFileName,
|
||||
dsqlDbDockerComposeFileNameAlt,
|
||||
tempBackupExportName,
|
||||
opsJSONFileName,
|
||||
};
|
||||
}
|
||||
|
||||
+5
-1
@@ -1,4 +1,7 @@
|
||||
export default function grabDockerStackServicesNames(): {
|
||||
type Params = {
|
||||
deploymentName?: string | null;
|
||||
};
|
||||
export default function grabDockerStackServicesNames(params?: Params): {
|
||||
deploymentName: string;
|
||||
maxScaleServiceName: string;
|
||||
dbServiceName: string;
|
||||
@@ -14,3 +17,4 @@ export default function grabDockerStackServicesNames(): {
|
||||
websocketServiceName: string;
|
||||
cronServiceName: string;
|
||||
};
|
||||
export {};
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = grabDockerStackServicesNames;
|
||||
function grabDockerStackServicesNames() {
|
||||
const deploymentName = process.env.DSQL_DEPLOYMENT_NAME || "dsql";
|
||||
function grabDockerStackServicesNames(params) {
|
||||
const deploymentName = (params === null || params === void 0 ? void 0 : params.deploymentName) || process.env.DSQL_DEPLOYMENT_NAME || "dsql";
|
||||
const maxScaleServiceName = `${deploymentName}-dsql-maxscale`;
|
||||
const dbServiceName = `${deploymentName}-dsql-db`;
|
||||
const dbCronServiceName = `${deploymentName}-dsql-db-cron`;
|
||||
|
||||
@@ -7,4 +7,5 @@ export default function grabIPAddresses(): {
|
||||
globalIPPrefix: string;
|
||||
webSocketIP: string;
|
||||
dbCronIP: string;
|
||||
reverseProxyIP: string;
|
||||
};
|
||||
|
||||
@@ -14,6 +14,7 @@ function grabIPAddresses() {
|
||||
const mainDBIP = `${globalIPPrefix}.${db}`;
|
||||
const webSocketIP = `${globalIPPrefix}.${websocket}`;
|
||||
const dbCronIP = `${globalIPPrefix}.${db_cron}`;
|
||||
const reverseProxyIP = `${globalIPPrefix}.${reverse_proxy}`;
|
||||
const localHostIP = `${globalIPPrefix}.1`;
|
||||
return {
|
||||
webAppIP,
|
||||
@@ -24,5 +25,6 @@ function grabIPAddresses() {
|
||||
globalIPPrefix,
|
||||
webSocketIP,
|
||||
dbCronIP,
|
||||
reverseProxyIP,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user