Improve the steps for running docker compose in the setup documentation (#4462)

Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com>
This commit is contained in:
Kinance
2023-05-30 01:24:38 +09:00
committed by GitHub
parent b5d78a48a7
commit 1ddf2324ff

View File

@@ -34,13 +34,13 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt
### Set up with Docker
1. Make sure you have Docker installed, see [requirements](#requirements)
2. Pull the latest image from [Docker Hub]
2. Create a project directory for Auto-GPT
:::shell
docker pull significantgravitas/auto-gpt
mkdir Auto-GPT
cd Auto-GPT
3. Create a folder for Auto-GPT
4. In the folder, create a file called `docker-compose.yml` with the following contents:
3. In the project directory, create a file called `docker-compose.yml` with the following contents:
:::yaml
version: "3.9"
@@ -71,8 +71,13 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt
redis:
image: "redis/redis-stack-server:latest"
5. Create the necessary [configuration](#configuration) files. If needed, you can find
4. Create the necessary [configuration](#configuration) files. If needed, you can find
templates in the [repository].
5. Pull the latest image from [Docker Hub]
:::shell
docker pull significantgravitas/auto-gpt
6. Continue to [Run with Docker](#run-with-docker)
!!! note "Docker only supports headless browsing"