Fix docs: sample docker-compose.yml broken indents (#5168)

auto-gpt keys were mis-nested under auto-gpt section of the docker-compose.yml after modern material improvements in 7cd407b7b4.
This commit is contained in:
Vittorio Alfieri
2023-09-07 09:05:05 -05:00
committed by GitHub
parent 1e89772bb9
commit 0e8ecdb192

View File

@@ -46,24 +46,24 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt
```yaml ```yaml
version: "3.9" version: "3.9"
services: services:
auto-gpt: auto-gpt:
image: significantgravitas/auto-gpt image: significantgravitas/auto-gpt
env_file: env_file:
- .env - .env
profiles: ["exclude-from-up"] profiles: ["exclude-from-up"]
volumes: volumes:
- ./auto_gpt_workspace:/app/auto_gpt_workspace - ./auto_gpt_workspace:/app/auto_gpt_workspace
- ./data:/app/data - ./data:/app/data
## allow auto-gpt to write logs to disk ## allow auto-gpt to write logs to disk
- ./logs:/app/logs - ./logs:/app/logs
## uncomment following lines if you want to make use of these files ## uncomment following lines if you want to make use of these files
## you must have them existing in the same folder as this docker-compose.yml ## you must have them existing in the same folder as this docker-compose.yml
#- type: bind #- type: bind
# source: ./azure.yaml # source: ./azure.yaml
# target: /app/azure.yaml # target: /app/azure.yaml
#- type: bind #- type: bind
# source: ./ai_settings.yaml # source: ./ai_settings.yaml
# target: /app/ai_settings.yaml # target: /app/ai_settings.yaml
``` ```
4. Create the necessary [configuration](#configuration) files. If needed, you can find 4. Create the necessary [configuration](#configuration) files. If needed, you can find