AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

this is a way to help people who use docker to persist output to host

Open jwestonmoss opened this issue 2 years ago • 2 comments

Background

Based on personal experience and interaction with multiple users on the discord, the inability to easily persist autogpt output beyond the lifespan of the docker container is problematic. By setting the default docker compose to mount a volume on the host, at least the output files should persist. This will allow follow on runs to potentially ingest these.

Changes

This adds the auto_gpt_workspace to the volumes in the docker-compose.yml

Documentation

This change should be self-explanatory

Test Plan

Tested this locally

PR Quality Checklist

  • [x] My pull request is atomic and focuses on a single change.
  • [x] I have thoroughly tested my changes with multiple different prompts.
  • [x] I have considered potential risks and mitigations for my changes.
  • [x] I have documented my changes clearly and comprehensively.

I did not add tests because this is a configuration change that should be straightforward.

jwestonmoss avatar Apr 27 '23 21:04 jwestonmoss

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ❌ Failed (Inspect) Apr 27, 2023 9:55pm

vercel[bot] avatar Apr 27 '23 21:04 vercel[bot]

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar May 02 '23 14:05 github-actions[bot]

Already fixed in master

Pwuts avatar Jun 07 '23 00:06 Pwuts

Thanks for submitting though!

Pwuts avatar Jun 07 '23 00:06 Pwuts