Adding the knowledge files to git
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
{"tasks":[]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"tasks":[]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"tasks":[]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"tasks":[]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"tasks":[]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"tasks":[]}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
+1
-1
@@ -4,7 +4,7 @@ services:
|
|||||||
image: agent0ai/agent-zero:latest
|
image: agent0ai/agent-zero:latest
|
||||||
container_name: dobby
|
container_name: dobby
|
||||||
ports:
|
ports:
|
||||||
- "50001:80"
|
- "50001:80" # direct local access for debugging
|
||||||
volumes:
|
volumes:
|
||||||
- ./agents/dobby:/a0/usr
|
- ./agents/dobby:/a0/usr
|
||||||
- ${HOME}/.ssh:/root/.ssh
|
- ${HOME}/.ssh:/root/.ssh
|
||||||
|
|||||||
@@ -21,36 +21,13 @@ if [[ ! -f "${REPO_DIR}/.env" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ── Ollama ────────────────────────────────────────────────────────────────────
|
|
||||||
if [[ "$OS" == "Linux" ]]; then
|
|
||||||
if systemctl is-active --quiet ollama 2>/dev/null; then
|
|
||||||
info "Ollama already running"
|
|
||||||
else
|
|
||||||
info "Starting Ollama..."
|
|
||||||
sudo systemctl start ollama
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if curl -sf http://localhost:11434/api/tags >/dev/null 2>&1; then
|
|
||||||
info "Ollama already running"
|
|
||||||
else
|
|
||||||
info "Starting Ollama..."
|
|
||||||
ollama serve >/tmp/ollama.log 2>&1 &
|
|
||||||
sleep 2
|
|
||||||
curl -sf http://localhost:11434/api/tags >/dev/null 2>&1 \
|
|
||||||
&& info "Ollama started" \
|
|
||||||
|| warn "Ollama didn't respond — check: ollama serve"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ── Docker containers ─────────────────────────────────────────────────────────
|
# ── Docker containers ─────────────────────────────────────────────────────────
|
||||||
info "Starting agent0..."
|
info "Starting agents and glitch-tunnel..."
|
||||||
docker compose up -d agent0
|
|
||||||
|
|
||||||
info "Starting glitch-tunnel..."
|
|
||||||
docker compose up -d glitch-tunnel
|
docker compose up -d glitch-tunnel
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
docker compose ps
|
docker compose ps
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
info "Agent0 is up. Open https://agent0.glitch.university"
|
info "Agents are up. Open https://agent0.glitch.university"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Establish a persistent SSH reverse tunnel from this machine to the VPS.
|
# Establish a persistent SSH reverse tunnel from Omega13 to the VPS.
|
||||||
# Traffic arriving at VPS:50001 is forwarded to agent0:80 on the Docker network.
|
# Each agent gets its own port on the VPS, forwarded directly to its container
|
||||||
|
# on the Omega13 Docker network. One SSH connection, one -R flag per agent.
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
exec autossh -M 0 -N \
|
exec autossh -M 0 -N \
|
||||||
@@ -10,5 +11,10 @@ exec autossh -M 0 -N \
|
|||||||
-o "ServerAliveInterval=30" \
|
-o "ServerAliveInterval=30" \
|
||||||
-o "ServerAliveCountMax=3" \
|
-o "ServerAliveCountMax=3" \
|
||||||
-o "ExitOnForwardFailure=yes" \
|
-o "ExitOnForwardFailure=yes" \
|
||||||
-R 0.0.0.0:50001:agent0:80 \
|
-R 0.0.0.0:50001:dobby:80 \
|
||||||
|
-R 0.0.0.0:50002:gemma:80 \
|
||||||
|
-R 0.0.0.0:50003:gunnar:80 \
|
||||||
|
-R 0.0.0.0:50005:rind:80 \
|
||||||
|
-R 0.0.0.0:50006:abyssinthia:80 \
|
||||||
|
-R 0.0.0.0:50007:gerhard:80 \
|
||||||
tunnel@glitch.university
|
tunnel@glitch.university
|
||||||
|
|||||||
Reference in New Issue
Block a user