Skip to content

Commit

Permalink
set default jacs version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Goina committed Dec 13, 2022
1 parent 3ce4ab5 commit 70929eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vpc_stack/src/hortacloud-services-config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { HortaCloudConfig, getHortaCloudConfig,
HortaBackupConfig, getHortaBackupConfig } from '../../common/hortacloud-common';

const defaultJacsStackVersion = '9.10.2';

// Horta Services Config
export interface HortaCloudServicesConfig extends HortaCloudConfig, HortaBackupConfig {
hortaServerInstanceType: string;
Expand Down Expand Up @@ -33,7 +35,7 @@ export function getHortaServicesConfig() : HortaCloudServicesConfig {
hortaServerKeyPairName: process.env.HORTA_KEY_PAIR || '',
hortaSystemVolumeSizeGB: hortaSystemVolumeSizeGB,
hortaDataVolumeSizeGB: hortaDataVolumeSizeGB,
jacssGitBranch: process.env.JACS_GIT_BRANCH,
jacssGitBranch: process.env.JACS_GIT_BRANCH || defaultJacsStackVersion,
withPublicAccess: false,
jwtKey: process.env.JACS_JWT_KEY || 'GFNaVyaC6boqf0VKtBEjLLu5VY8Ks0PQ23kpSs8lgWg',
mongoKey: process.env.JACS_MONGO_KEY || 'C9w7ZIVbtvN4LqDgOUrZuLEOqGSkgjWvRDg4mpgDw',
Expand Down

0 comments on commit 70929eb

Please sign in to comment.