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
|
||||
container_name: dobby
|
||||
ports:
|
||||
- "50001:80"
|
||||
- "50001:80" # direct local access for debugging
|
||||
volumes:
|
||||
- ./agents/dobby:/a0/usr
|
||||
- ${HOME}/.ssh:/root/.ssh
|
||||
|
||||
@@ -21,36 +21,13 @@ if [[ ! -f "${REPO_DIR}/.env" ]]; then
|
||||
exit 1
|
||||
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 ─────────────────────────────────────────────────────────
|
||||
info "Starting agent0..."
|
||||
docker compose up -d agent0
|
||||
|
||||
info "Starting glitch-tunnel..."
|
||||
info "Starting agents and glitch-tunnel..."
|
||||
docker compose up -d glitch-tunnel
|
||||
|
||||
echo ""
|
||||
docker compose ps
|
||||
|
||||
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
|
||||
# Establish a persistent SSH reverse tunnel from this machine to the VPS.
|
||||
# Traffic arriving at VPS:50001 is forwarded to agent0:80 on the Docker network.
|
||||
# Establish a persistent SSH reverse tunnel from Omega13 to the VPS.
|
||||
# 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
|
||||
|
||||
exec autossh -M 0 -N \
|
||||
@@ -10,5 +11,10 @@ exec autossh -M 0 -N \
|
||||
-o "ServerAliveInterval=30" \
|
||||
-o "ServerAliveCountMax=3" \
|
||||
-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
|
||||
|
||||
Reference in New Issue
Block a user