@kritchoff/agent-browser 0.9.18 → 0.9.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docker-compose.sdk.yml +2 -2
- package/package.json +1 -1
- package/scripts/start-android-agent.sh +1 -1
- package/start.sh +1 -1
package/docker-compose.sdk.yml
CHANGED
|
@@ -3,7 +3,7 @@ services:
|
|
|
3
3
|
# Android Emulator Service (The "Body")
|
|
4
4
|
# ---------------------------------------------------------------------------
|
|
5
5
|
android-service:
|
|
6
|
-
image: kritchoff/agent-android:
|
|
6
|
+
image: kritchoff/agent-android:v1.0.1
|
|
7
7
|
platform: linux/amd64
|
|
8
8
|
privileged: true # Required for KVM
|
|
9
9
|
restart: always # Auto-restart on crash
|
|
@@ -30,7 +30,7 @@ services:
|
|
|
30
30
|
# Agent Browser Service (The "Brain")
|
|
31
31
|
# ---------------------------------------------------------------------------
|
|
32
32
|
agent-service:
|
|
33
|
-
image: kritchoff/agent-daemon:
|
|
33
|
+
image: kritchoff/agent-daemon:v1.0.1
|
|
34
34
|
platform: linux/amd64
|
|
35
35
|
restart: always
|
|
36
36
|
depends_on:
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ echo "[Agent] Starting Agent Browser Service"
|
|
|
10
10
|
echo "[Agent] Resolving android-service IP..."
|
|
11
11
|
ANDROID_IP=""
|
|
12
12
|
until [ -n "$ANDROID_IP" ]; do
|
|
13
|
-
ANDROID_IP=$(
|
|
13
|
+
ANDROID_IP=$(node -e 'require("dns").lookup("android-service", (err, addr) => { if(!err) console.log(addr) })')
|
|
14
14
|
if [ -z "$ANDROID_IP" ]; then
|
|
15
15
|
echo "[Agent] Waiting for DNS resolution..."
|
|
16
16
|
sleep 2
|
package/start.sh
CHANGED
|
@@ -46,7 +46,7 @@ fi
|
|
|
46
46
|
echo -e "\n${YELLOW}[2/4] Starting Docker Stack...${NC}"
|
|
47
47
|
echo " (First run may take a few minutes to download images)"
|
|
48
48
|
|
|
49
|
-
docker compose -f "${COMPOSE_FILE:-docker-compose.prod.yml}" up -d --build --remove-orphans
|
|
49
|
+
docker compose -f "${COMPOSE_FILE:-docker-compose.prod.yml}" up -d --build --remove-orphans
|
|
50
50
|
|
|
51
51
|
# Find actual container names
|
|
52
52
|
ANDROID_CONTAINER=$(docker compose -f "${COMPOSE_FILE:-docker-compose.prod.yml}" ps -q android-service)
|