Install DockerMan template and PNG icon
This commit is contained in:
@@ -33,6 +33,12 @@ git reset --hard 'origin/$RemoteBranch'
|
||||
git branch -M '$RemoteBranch'
|
||||
chmod +x scripts/*.sh backend/docker_start.sh deploy/unraid/*.sh || true
|
||||
|
||||
if [ -d /boot/config/plugins/dockerMan ]; then
|
||||
mkdir -p /boot/config/plugins/dockerMan/templates-user /boot/config/plugins/dockerMan/images
|
||||
cp deploy/unraid/geointel-unraid-template.xml /boot/config/plugins/dockerMan/templates-user/my-geointel.xml
|
||||
cp deploy/unraid/geointel-icon.png /boot/config/plugins/dockerMan/images/geointel-icon.png
|
||||
fi
|
||||
|
||||
docker compose down --remove-orphans || true
|
||||
docker compose -f docker-compose.unraid.yml config >/dev/null
|
||||
docker compose -f docker-compose.unraid.yml build geointel
|
||||
|
||||
@@ -34,6 +34,12 @@ git fetch origin "$REMOTE_BRANCH"
|
||||
git checkout -B "$REMOTE_BRANCH" "origin/$REMOTE_BRANCH"
|
||||
chmod +x scripts/*.sh backend/docker_start.sh deploy/unraid/*.sh || true
|
||||
|
||||
if [[ -d /boot/config/plugins/dockerMan ]]; then
|
||||
mkdir -p /boot/config/plugins/dockerMan/templates-user /boot/config/plugins/dockerMan/images
|
||||
cp deploy/unraid/geointel-unraid-template.xml /boot/config/plugins/dockerMan/templates-user/my-geointel.xml
|
||||
cp deploy/unraid/geointel-icon.png /boot/config/plugins/dockerMan/images/geointel-icon.png
|
||||
fi
|
||||
|
||||
docker compose down --remove-orphans || true
|
||||
docker compose -f docker-compose.unraid.yml config >/dev/null
|
||||
docker compose -f docker-compose.unraid.yml build geointel
|
||||
|
||||
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
FRONTEND_URL="${1:-http://localhost:1202}"
|
||||
BACKEND_HEALTH_URL="${2:-}"
|
||||
API_URL="${FRONTEND_URL%/}/api/v1/projects"
|
||||
ICON_URL="${FRONTEND_URL%/}/geointel-icon.svg"
|
||||
ICON_URL="${FRONTEND_URL%/}/geointel-icon.png"
|
||||
|
||||
if ! command -v curl >/dev/null 2>&1; then
|
||||
echo "curl is required for browser runtime verification" >&2
|
||||
|
||||
Reference in New Issue
Block a user