Skip to content

Commit

Permalink
Make Scheduler containers use the correct Envvar
Browse files Browse the repository at this point in the history
It now matches our docs, our docker containers, and is in sync with the rest of Aerie
  • Loading branch information
Mythicaeda committed Jul 23, 2024
1 parent 0fe5052 commit 5a5cc9a
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 5a5cc9a

Please sign in to comment.