2023-04-11 16:30:15 +00:00
|
|
|
# To boot the app run the following:
|
|
|
|
# docker-compose run auto-gpt
|
2023-05-10 06:01:45 +00:00
|
|
|
# NOTE: Version 3.9 requires at least docker-compose version 1.29.0 !
|
2023-04-11 16:30:15 +00:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
auto-gpt:
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
build: ./
|
2023-04-15 09:42:12 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-04-24 13:27:53 +00:00
|
|
|
environment:
|
|
|
|
MEMORY_BACKEND: ${MEMORY_BACKEND:-redis}
|
|
|
|
REDIS_HOST: ${REDIS_HOST:-redis}
|
2023-04-11 16:30:15 +00:00
|
|
|
volumes:
|
2023-04-24 13:27:53 +00:00
|
|
|
- ./:/app
|
2023-04-11 16:30:15 +00:00
|
|
|
profiles: ["exclude-from-up"]
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: "redis/redis-stack-server:latest"
|