Update docs to use docker compose v2 (#4471)

* Update setup.md

Change "docker-compose" command to "docker compose" to avoid future issues with running the Docker method (`docker-compose` is v1 and is outdated, is not a recognized command with newer versions of Docker engine)

* Update usage.md

* Update comment in docker-compose.yml

---------

Co-authored-by: Reinier van der Leer <github@pwuts.nl>
This commit is contained in:
kerta1n
2023-07-06 13:11:43 -07:00
committed by GitHub
parent 2fcd91b765
commit e0882955e3
3 changed files with 13 additions and 12 deletions

View File

@@ -11,11 +11,11 @@ Running with `--help` lists all the possible command line arguments you can pass
!!! info
For use with Docker, replace the script in the examples with
`docker-compose run --rm auto-gpt`:
`docker compose run --rm auto-gpt`:
:::shell
docker-compose run --rm auto-gpt --help
docker-compose run --rm auto-gpt --ai-settings <filename>
docker compose run --rm auto-gpt --help
docker compose run --rm auto-gpt --ai-settings <filename>
!!! note
Replace anything in angled brackets (<>) to a value you want to specify