From 8f3119621ce0fc56d5fdb30bd1c83e72216ab2c5 Mon Sep 17 00:00:00 2001 From: Boostrix <119627414+Boostrix@users.noreply.github.com> Date: Wed, 10 May 2023 08:01:45 +0200 Subject: [PATCH] document that docker-compose 1.29.0 is minimally required (#3963) Co-authored-by: Nicholas Tindle --- docker-compose.yml | 1 + docs/setup.md | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4c6656dd6cf8..a23aa4317677 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,6 @@ # To boot the app run the following: # docker-compose run auto-gpt +# NOTE: Version 3.9 requires at least docker-compose version 1.29.0 ! version: "3.9" services: diff --git a/docs/setup.md b/docs/setup.md index 782dbabdbba7..4ef9ec025147 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -156,7 +156,18 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt ### Run with Docker -Easiest is to use `docker-compose`. Run the commands below in your Auto-GPT folder. +Easiest is to use `docker-compose`. + +Important: Docker Compose version 1.29.0 or later is required to use version 3.9 of the Compose file format. +You can check the version of Docker Compose installed on your system by running the following command: + + docker-compose version + +This will display the version of Docker Compose that is currently installed on your system. + +If you need to upgrade Docker Compose to a newer version, you can follow the installation instructions in the Docker documentation: https://docs.docker.com/compose/install/ + +Once you have a recent version of docker-compose, run the commands below in your Auto-GPT folder. 1. Build the image. If you have pulled the image from Docker Hub, skip this step.