File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,15 @@ Note the URL of the agent's server (usually it is `http://127.0.0.1:5000/`), and
2626export REMOTE_AGENT_URL=" http://127.0.0.1:5000/"
2727```
2828
29+ If using [ Docker to run ActiveWorkflow] ( https://docs.activeworkflow.org/#running-locally-with-docker ) ,
30+ you'll need to use the ` -e ` parameter to ` docker run ` to pass ` REMOTE_AGENT_URL ` through
31+ to ActiveWorkflow. The address in the URL will also have to be updated to match where the agent
32+ is running (` 127.0.0.1 ` is unlikely to be correct). Docker provides ` host.docker.internal ` for the host IP.
33+ Thus, you could run:
34+ ``` sh
35+ docker run -e REMOTE_AGENT_URL=" http://host.docker.internal:5000/" -p 3000:3000 --rm automaticmode/active_workflow
36+ ```
37+
2938Now you can start ActiveWorkflow. You should be able to create instances of this agent (named "Python Test Agent"). Run it and send messages to it.
3039
3140Please note that this project is just a minimal example. Consider using a proper project structure when developing your own ActiveWorkflow agents.
You can’t perform that action at this time.
0 commit comments