Skip to content

Commit

Permalink
host-gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 5, 2023
1 parent 46a662d commit 0106863
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ services:
- "8080:5000"

autogpt: #the beast
extra_hosts:
- "host.docker.internal:host-gateway"
entrypoint: bash -c "poetry run autogpt --install-plugin-deps --skip-news --ai-name 'meta-autogpt' --ai-role 'you will introspect autogpt and reveal its internals via reflection and comprehension' --ai-goal 'Observe your behaviour' --ai-goal 'Reflect over your outcomes' --ai-goal 'Orient yourself to your knowledge' --ai-goal 'Decide on your next step' --ai-goal 'Act on your chosen next experiment' -y --continuous --continuous-limit 1 "


Expand All @@ -65,7 +67,7 @@ services:
- GITHUB_PAT="${GITHUB_PAT}"
- GITHUB_REPO="jmikedupont2/ai-ticket"
- OPENAI_API_KEY=your-openai-api-key
- OPENAI_API_BASE=http://host-gateway:8080/v1
- OPENAI_API_BASE=http://host.docker.internal:8080/v1
image: h4ckermike/autogpt
volumes:
- ./vendor/Auto-GPT/autogpts/autogpt/autogpt/:/app/autogpt
Expand Down

0 comments on commit 0106863

Please sign in to comment.