Skip to content

Instantly share code, notes, and snippets.

@nailuoGG
Created May 27, 2023 14:38
Show Gist options
  • Save nailuoGG/7892d352996247ee38175d92ac71a9eb to your computer and use it in GitHub Desktop.
Save nailuoGG/7892d352996247ee38175d92ac71a9eb to your computer and use it in GitHub Desktop.
start autogpt using docker
version: "3.9"
services:
auto-gpt:
image: significantgravitas/auto-gpt
depends_on:
- redis
env_file:
- .env
environment:
MEMORY_BACKEND: ${MEMORY_BACKEND:-redis}
REDIS_HOST: ${REDIS_HOST:-redis}
profiles: ["exclude-from-up"]
volumes:
- ./auto_gpt_workspace:/app/autogpt/auto_gpt_workspace
- ./data:/app/data
## allow auto-gpt to write logs to disk
- ./logs:/app/logs
## 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
#- type: bind
# source: ./azure.yaml
# target: /app/azure.yaml
#- type: bind
# source: ./ai_settings.yaml
# target: /app/ai_settings.yaml
redis:
image: "redis/redis-stack-server:latest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment