Skip to content

Commit

Permalink
scheduler env var change:
Browse files Browse the repository at this point in the history
  • Loading branch information
cs128781 committed Dec 9, 2024
1 parent 7d2a749 commit dae5050
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ Resources:
-e TD_VCD_UI_PORT=${ AiUnlimitedUiPort } \
-e TD_VCD_API_PORT=${ AiUnlimitedGrpcPort } \
-e TD_VCD_AUTH_PORT=${ AiUnlimitedAuthPort } \
-e TD_WS_HTTP_SERVER_PORT=${ AiUnlimitedSchedulerHttpPort } \
-e TD_VCD_INIT_API_KEY \
-p ${ AiUnlimitedUiPort }:80 \
--network ai_unlimited \
Expand Down Expand Up @@ -591,6 +592,7 @@ Resources:
TimeoutStartSec=0
Restart=always
RestartSec=2
EnvironmentFile=/etc/td/ai-unlimited/init_api_key.txt
ExecStartPre=-/usr/bin/docker exec %n stop || true
ExecStartPre=-/usr/bin/docker rm %n || true
ExecStartPre=/usr/bin/docker pull teradata/ai-unlimited-scheduler:${ AiUnlimitedSchedulerVersion }
Expand All @@ -605,6 +607,7 @@ Resources:
-e TD_WSSCHED_DEV_LOC_OVR=ignore \
-e TD_WS_CONTAINER_NAME=ai-unlimited.service \
-e TD_WS_SERVER_PORT=${ AiUnlimitedGrpcPort } \
-e TD_VCD_INIT_API_KEY \
--rm --name %n teradata/ai-unlimited-scheduler:${ AiUnlimitedSchedulerVersion } workspace-event-scheduler serve
[Install]
Expand Down

0 comments on commit dae5050

Please sign in to comment.