Skip to content

Commit

Permalink
Merge pull request #1511 from NASA-AMMOS/fix/scheduler-db-envvar
Browse files Browse the repository at this point in the history
Make Scheduler containers use the correct Envvar
  • Loading branch information
Mythicaeda authored Jul 23, 2024
2 parents 0fe5052 + 5a5cc9a commit 7b13d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private static AppConfiguration loadConfiguration() {
return new AppConfiguration(
Integer.parseInt(getEnv("SCHEDULER_PORT", "27185")),
logger.isDebugEnabled(),
new PostgresStore(getEnv("AERIE_DB_SERVER", "postgres"),
new PostgresStore(getEnv("AERIE_DB_HOST", "postgres"),
getEnv("SCHEDULER_DB_USER", ""),
Integer.parseInt(getEnv("AERIE_DB_PORT", "5432")),
getEnv("SCHEDULER_DB_PASSWORD", ""),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private static WorkerAppConfiguration loadConfiguration() {
maxNbCachedSimulationEngine = 1;
}
return new WorkerAppConfiguration(
new PostgresStore(getEnv("AERIE_DB_SERVER", "postgres"),
new PostgresStore(getEnv("AERIE_DB_HOST", "postgres"),
getEnv("SCHEDULER_DB_USER", ""),
Integer.parseInt(getEnv("AERIE_DB_PORT", "5432")),
getEnv("SCHEDULER_DB_PASSWORD", ""),
Expand Down

0 comments on commit 7b13d58

Please sign in to comment.