mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-05 07:10:44 +00:00
persistent tunnel
This commit is contained in:
parent
b700db27f3
commit
84f2d94475
7 changed files with 184 additions and 11 deletions
19
docker/run/fs/exe/run_tunnel_api.sh
Normal file
19
docker/run/fs/exe/run_tunnel_api.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
. "/ins/setup_venv.sh" "$@"
|
||||
. "/ins/copy_A0.sh" "$@"
|
||||
|
||||
python /a0/prepare.py --dockerized=true
|
||||
python /a0/preload.py --dockerized=true
|
||||
|
||||
echo "Starting A0..."
|
||||
exec python /a0/run_tunnel.py \
|
||||
--dockerized=true \
|
||||
--port=5070 \
|
||||
--host="0.0.0.0" \
|
||||
--code_exec_docker_enabled=false \
|
||||
--code_exec_ssh_enabled=true \
|
||||
# --code_exec_ssh_addr="localhost" \
|
||||
# --code_exec_ssh_port=22 \
|
||||
# --code_exec_ssh_user="root" \
|
||||
# --code_exec_ssh_pass="toor"
|
||||
Loading…
Add table
Add a link
Reference in a new issue