agent-zero
agent-zero copied to clipboard
Install process too long, please add a docker-compose.yml file
I noticed this project already has a Dockerfile.
We can fully dockerize it by having a docker-compose file
Then the project can be installed with a single command docker compose up -d
I recommend hosting the docker image on GHCR or docker hub so the user doesn't have to build the repo on every pull
PR welcome, if you can maintain the customizability, access to prompts and files, and solve docker in docker issues. Others have tried.
I don't really see the problem to convert a docker run command into a docker-compose.yml file
i.e. see here: https://docker-compose.net/m6a26bw2
And I see you also need to mount the docker socket: volumes: - /var/run/docker.sock:/var/run/docker.sock
A0 runs fully in docker since 0.8
A0 runs fully in docker since 0.8
Yes? I am confused now. Did I misunderstand something?
Your installation instructions walk us through a manual installation using docker desktop and showing a docker run command: docker run -p $PORT:80 -v /path/to/your/data:/a0 frdel/agent-zero-run
The other person and me were looking for a compose file, i.e. something along the lines of:
services:
agent-zero:
image: frdel/agent-zero-run:latest
container_name: agent-zero
hostname: agent-zero
ports:
- 192.168.98.2:4022:22
- 192.168.98.2:4080:80
- ./a0:/a0
- /var/run/docker.sock:/var/run/docker.sock
restart: "no"
cpus: 4
mem_limit: 10G
I second this!
Is there a docker-compose setup ready to be deployed?
A0 runs fully in docker since 0.8
Yes? I am confused now. Did I misunderstand something?
Your installation instructions walk us through a manual installation using docker desktop and showing a docker run command:
docker run -p $PORT:80 -v /path/to/your/data:/a0 frdel/agent-zero-runThe other person and me were looking for a compose file, i.e. something along the lines of:
services: agent-zero: image: frdel/agent-zero-run:latest container_name: agent-zero hostname: agent-zero ports: - 192.168.98.2:4022:22 - 192.168.98.2:4080:80 - ./a0:/a0 - /var/run/docker.sock:/var/run/docker.sock restart: "no" cpus: 4 mem_limit: 10G
Is this working?