-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathenv-guidance.txt
95 lines (71 loc) · 3.4 KB
/
env-guidance.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
env-guidance.txt
::::::::::::::
.env
::::::::::::::
#Dont Change these
TRAEFIK_TAG=traefik-public
STACK_NAME=autogpt
AUTO_GPT_VERSION=0.4.4 (Manually set version of autogpt to use, currently only tested with 0.4.4)
::::::::::::::
env-backend.env
::::::::::::::
NO_AUTH=1 (This should be 1 for a stand alone, we can remove all session config when no_auth=1)
WORKSPACES_DIR=/workspaces (Or wherever you want us to save workspace files that you upload or that autoGPT creates)
PYTHON_BINARY=python3 (This can be used to change the python command/version we use, this should stay python3 for the foreseeable future)
# Tail logs for this much rows for the UI (The python log that shows the work being done is cyclical, this says how many lines before it starts to overwrite its older content)
TAIL_LOG_COUNT=500
# Max size for a workspace file to upload, 5MiB by default (at 5mb you wont be able so save any more to your workspace unless you set this higher)
MAX_WORKSPACE_FILE_SIZE=5242880
# Max size for a cache file before it gets truncated, 5MiB by default (default is probably fine)
MAX_CACHE_SIZE=5242880
# my openai key (Ad your openai key here https://platform.openai.com/account/api-keys)
#OPENAI_LOCAL_KEY=##############################################
# Add execute_code command to auto-gpt, don't use in production, private servers only, this enables GPT to do about anything on your server
ALLOW_CODE_EXECUTION=1
EXECUTE_LOCAL_COMMANDS=1
# Restrict commands if you want, otherwise omit this line
DENY_COMMANDS=nano,vim,vi,emacs,top,ping,ssh,scp
# Database URL, ie: mysql://user:password@mysql:3306/auto_gpt_ui
DATABASE_URL= (See example above, that is if you are using the mysql container we bring online with this build, use the user and pass you set in mysql config or even better, set up a dedicated user for the DB)
# Redis is used for enabling users to stop a job and then start it off where they left off, you can use local redis we add container for using the below
REDIS_URL=redis://redis:6379/0
---------------
#Configure permissions and plugins
#Plugins require API keys or configuration information such as email details
#For full access, do not modify the allow and deny sections.
----------------
# Allow only These plugins (If you have plugins configured): AutoGPTApiTools, AutoGPT_Slack, AutoGPTSceneXPlugin, AutoGPT_YouTube, AutoGPTTwitter, PlannerPlugin, AutoGPTEmailPlugin
ALLOWLISTED_PLUGINS=AutoGPTApiTools, AutoGPT_Slack, AutoGPTSceneXPlugin, AutoGPT_YouTube, AutoGPTTwitter, PlannerPlugin, AutoGPTEmailPlugin
#This is luike you would configure any email client
EMAIL_ADDRESS=
EMAIL_PASSWORD=
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=587
EMAIL_IMAP_SERVER=
EMAIL_MARK_AS_SEEN=0
EMAIL_SIGNATURE=This was sent by Auto-GPT
EMAIL_DRAFT_MODE_WITH_FOLDER=[Gmail]/Drafts
# For Twitter plugin
TW_CONSUMER_KEY=
TW_CONSUMER_SECRET=
TW_ACCESS_TOKEN=
TW_ACCESS_TOKEN_SECRET=
TW_CLIENT_ID=
TW_CLIENT_ID_SECRET=
# For SceneX plugin
SCENEX_API_KEY=
# For Slack plugin
SLACK_BOT_TOKEN=
SLACK_CHANNEL=
# For Youtube plugin
YOUTUBE_API_KEY=
::::::::::::::
env-frontend.env
::::::::::::::
# base url for the backend used by the frontend to make server-side calls, ie: http://api (For a local single user install, dont change this)
NUXT_API_BASE=http://api
::::::::::::::
env-mysql.env
::::::::::::::
MYSQL_ROOT_PASSWORD=(You set this to what you want)
MYSQL_DATABASE=autogpt (If you change this, make sure you update your mysql connection string)