Skip to content

Commit

Permalink
docker compose working
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 15, 2023
1 parent 8acf7e2 commit eae4192
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 9 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ The docker images are organized like this :

* act_base is the foundation of all actions.
* poetry_base is contains the poetry magic layer with shared containers.


# RUnning

`sudo docker-compose build`
`sudo docker-compose up mockopenai`
`sudo docker-compose run auto-gpt-chat-gpt-prompts `
30 changes: 22 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,35 @@ services:

# vendor/AutoGPTv2/autogpts/autogpt/.devcontainer/Dockerfile
# vend or/AutoGPTv2/autogpts/autogpt/Dockerfile
auto_honey_comber:
build:
context: vendor/AutoGPTv2/
dockerfile: autogpts/AutoHoneyComber/Dockerfile
# auto_honey_comber:
# build:
# context: vendor/AutoGPTv2/
# dockerfile: autogpts/AutoHoneyComber/Dockerfile
# args:
# BASE_IMAGE: h4ckermike/basic_agent
# volumes:
# - ./vendor/AutoGPTv2/autogpts/AutoHoneyComber/:/app/ #mount the source in for editing without reboot

# vendor/AutoGPTv2/autogpts/AutoHoneyComber/Dockerfile
# vendor/AutoGPTv2/autogpts/forge/Dockerfile

auto-gpt-chat-gpt-prompts:
build:
context: vendor/AutoGPTv2/
dockerfile: autogpts/AutoHoneyComber/Dockerfile
#--ai-settings ai_settings.yaml
entrypoint: bash -c "python -m autogpt -y --ai-settings /tmp/ai_settings.yaml "
environment:
- GITHUB_PAT="${GITHUB_PAT}"
- GITHUB_REPO="jmikedupont2/ai-ticket"
- OPENAI_API_KEY=your-openai-api-key
- OPENAI_API_BASE=http://mockopenai:5000/v1

build:
context: vendor/Auto-GPT-chat-gpt-prompts/
#dockerfile: Dockerfile
volumes:
- ./vendor/Auto-GPT-chat-gpt-prompts/:/app/ #mount the source in for editing witho
- ./vendor/Auto-GPT/autogpts/autogpt/ai_settings.yaml:/tmp/ai_settings.yaml
# vendor/Auto-GPT-chat-gpt-prompts/.devcontainer/Dockerfile
# vendor/Auto-GPT-chat-gpt-prompts/Dockerfile
#

Auto-GPT-aj:
build:
Expand Down
1 change: 0 additions & 1 deletion vendor/AutoGPTv2
Submodule AutoGPTv2 deleted from b4fccc

0 comments on commit eae4192

Please sign in to comment.