Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a docker volume so that the config files can be accessed easier #2265

Closed
1 task done
moltra opened this issue Apr 17, 2023 · 4 comments
Closed
1 task done

Add a docker volume so that the config files can be accessed easier #2265

moltra opened this issue Apr 17, 2023 · 4 comments

Comments

@moltra
Copy link

moltra commented Apr 17, 2023

Duplicates

  • I have searched the existing issues

Summary 💡

if we create a docker volume and map the config files to it. We can edit the config files easier.

Examples 🌈

No response

Motivation 🔦

No response

@moltra moltra changed the title Add a volume so that the config files can be accessed easier Add a docker volume so that the config files can be accessed easier Apr 17, 2023
@k-boikov
Copy link
Contributor

If you mean the autogpt/config/* files - they are not supposed to be edited. Instead you should edit the .env file. There is a mapping in the docker-compose.yml for it.

@Pwuts
Copy link
Member

Pwuts commented Apr 17, 2023

Please make your proposal more specific and feel free to reopen the issue then.

@Pwuts Pwuts closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2023
@moltra
Copy link
Author

moltra commented Apr 17, 2023

I am talking about things like name, description... I have seen a couple of other issues or questions about how to change them also.

AI Name: Entrepreneur-GPT here! I am at your service. Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.' Entrepreneur-GPT is: Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously' Enter nothing to load defaults, enter nothing when finished. Goal 1: Traceback (most recent call last): File "/app/main.py", line 325, in <module> prompt = construct_prompt() ^^^^^^^^^^^^^^^^^^ File "/app/main.py", line 202, in construct_prompt config.save() File "/app/ai_config.py", line 72, in save with open(config_file, "w") as file: ^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/app/../ai_settings.yaml'

@Pwuts
Copy link
Member

Pwuts commented Apr 18, 2023

If I understand correctly, your issue is addressed by #1843

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants