From 9f116f57838e458c756a85a344b6aa053a25dd07 Mon Sep 17 00:00:00 2001 From: frikky Date: Fri, 11 Nov 2022 14:40:25 +0100 Subject: [PATCH] Fixed orborus section in admin --- frontend/src/views/Admin.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/Admin.jsx b/frontend/src/views/Admin.jsx index e6517d33..b6284821 100644 --- a/frontend/src/views/Admin.jsx +++ b/frontend/src/views/Admin.jsx @@ -4740,7 +4740,7 @@ const Admin = (props) => { style={{ minWidth: 100, maxWidth: 100 }} /> { > { if (environment.Type === "cloud") { alert.info("No Orborus necessary for environment cloud. Create and use a different environment to run executions on-premises.") @@ -4813,7 +4814,7 @@ const Admin = (props) => { const elementName = "copy_element_shuffle"; const auth = environment.auth === "" ? 'cb5st3d3Z!3X3zaJ*Pc' : environment.auth - const commandData = `docker run -d --volume "/var/run/docker.sock:/var/run/docker.sock" -e ENVIRONMENT_NAME="${environment.Name}" -e 'AUTH=${auth}' -e ORG="${props.userdata.active_org.id}" -e DOCKER_API_VERSION=1.40 -e BASE_URL="https://shuffler.io" ghcr.io/frikky/shuffle-orborus:latest` + const commandData = `docker run --volume "/var/run/docker.sock:/var/run/docker.sock" -e ENVIRONMENT_NAME="${environment.Name}" -e 'AUTH=${auth}' -e ORG="${props.userdata.active_org.id}" -e DOCKER_API_VERSION=1.40 -e BASE_URL="${globalUrl}" -d ghcr.io/shuffle/shuffle-orborus:latest` var copyText = document.getElementById(elementName); if (copyText !== null && copyText !== undefined) { const clipboard = navigator.clipboard; @@ -4836,7 +4837,7 @@ const Admin = (props) => { } }} > - + }