Add platform AI Workspace Hub
This commit is contained in:
@@ -26,17 +26,25 @@ echo "== notification core image build =="
|
||||
cd "${PLATFORM_DIR}/notification-core"
|
||||
"${DOCKER_BIN}" build --no-cache -t nodedc/notification-core:local .
|
||||
|
||||
echo "== ai workspace hub image build =="
|
||||
cd "${PLATFORM_DIR}/ai-workspace-hub"
|
||||
"${DOCKER_BIN}" build --no-cache -t nodedc/ai-workspace-hub: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 launcher
|
||||
up -d --force-recreate reverse-proxy authentik-server authentik-worker notification-postgres notification-core ai-workspace-hub launcher
|
||||
|
||||
echo "== notification core health check =="
|
||||
"${DOCKER_BIN}" exec nodedc-platform-notification-core-1 sh -lc \
|
||||
'wget -qSO- http://127.0.0.1:5185/healthz 2>&1 | head -n 25'
|
||||
|
||||
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 "== clear authentik global brand css =="
|
||||
DOCKER_BIN="${DOCKER_BIN}" bash "${PLATFORM_DIR}/clear-authentik-brand-css.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user