feat: add shared ai workspace assistant service
This commit is contained in:
@@ -30,12 +30,16 @@ echo "== ai workspace hub image build =="
|
||||
cd "${PLATFORM_DIR}/ai-workspace-hub"
|
||||
"${DOCKER_BIN}" build --no-cache -t nodedc/ai-workspace-hub:local .
|
||||
|
||||
echo "== ai workspace assistant image build =="
|
||||
cd "${PLATFORM_DIR}/ai-workspace-assistant"
|
||||
"${DOCKER_BIN}" build --no-cache -t nodedc/ai-workspace-assistant:local .
|
||||
|
||||
echo "== platform services recreate =="
|
||||
cd "${PLATFORM_DIR}"
|
||||
"${DOCKER_BIN}" compose \
|
||||
--env-file "${ENV_FILE}" \
|
||||
-f "${COMPOSE_FILE}" \
|
||||
up -d --force-recreate reverse-proxy authentik-server authentik-worker notification-postgres notification-core ai-workspace-hub launcher
|
||||
up -d --force-recreate reverse-proxy authentik-server authentik-worker notification-postgres notification-core ai-workspace-postgres ai-workspace-assistant ai-workspace-hub launcher
|
||||
|
||||
echo "== notification core health check =="
|
||||
"${DOCKER_BIN}" exec nodedc-platform-notification-core-1 sh -lc \
|
||||
@@ -45,6 +49,10 @@ echo "== ai workspace hub health check =="
|
||||
"${DOCKER_BIN}" exec nodedc-platform-ai-workspace-hub-1 sh -lc \
|
||||
'node -e '"'"'fetch("http://127.0.0.1:18081/healthz").then(async (response) => { console.log(await response.text()); process.exit(response.ok ? 0 : 1); }).catch((error) => { console.error(error); process.exit(1); })'"'"''
|
||||
|
||||
echo "== ai workspace assistant health check =="
|
||||
"${DOCKER_BIN}" exec nodedc-platform-ai-workspace-assistant-1 sh -lc \
|
||||
'node -e '"'"'fetch("http://127.0.0.1:18082/healthz").then(async (response) => { console.log(await response.text()); process.exit(response.ok ? 0 : 1); }).catch((error) => { console.error(error); process.exit(1); })'"'"''
|
||||
|
||||
echo "== clear authentik global brand css =="
|
||||
DOCKER_BIN="${DOCKER_BIN}" bash "${PLATFORM_DIR}/clear-authentik-brand-css.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user