Skip to content

Commit

Permalink
small changes for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
eriktaubeneck committed Jan 18, 2024
1 parent fe53e9e commit 70293e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/app/query/servers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,18 +268,18 @@ export class IPACoordinatorRemoteServer extends RemoteServer {
export const IPARemoteServers: RemoteServersType = {
[RemoteServerNames.Coordinator]: new IPACoordinatorRemoteServer(
RemoteServerNames.Coordinator,
new URL("http://localhost:17430"),
new URL(process?.env?.COORDINATOR_URL ?? "http://localhost:17430"),
),
[RemoteServerNames.Helper1]: new IPAHelperRemoteServer(
RemoteServerNames.Helper1,
new URL("http://localhost:17431"),
new URL(process?.env?.Helper1_URL ?? "http://localhost:17431"),
),
[RemoteServerNames.Helper2]: new IPAHelperRemoteServer(
RemoteServerNames.Helper2,
new URL("http://localhost:17432"),
new URL(process?.env?.Helper2_URL ?? "http://localhost:17432"),
),
[RemoteServerNames.Helper3]: new IPAHelperRemoteServer(
RemoteServerNames.Helper3,
new URL("http://localhost:17433"),
new URL(process?.env?.Helper3_URL ?? "http://localhost:17433"),
),
};
1 change: 1 addition & 0 deletions sidecar/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def start_helper_sidecar_command(
"NETWORK_CONFIG_PATH": network_config,
"PRIVATE_KEY_PEM_PATH": private_key_pem_path,
"UVICORN_PORT": str(helper.sidecar_port),
"UVICORN_HOST": "0.0.0.0",
}
return Command(cmd=cmd, env=env)

Expand Down

0 comments on commit 70293e9

Please sign in to comment.