Skip to content

Commit

Permalink
now building and running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Oct 11, 2023
1 parent 0f82de7 commit 7d5a08a
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 249 deletions.
25 changes: 19 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,37 @@ services:

act_base: #root base of action
build: vendor/act_base
image: h4ckermike/act_base

poetry_base: # use poetry
image: h4ckermike/poetry_base
build:
context: vendor/python-poetry/build
args:
OFFICIAL_PYTHON_IMAGE: act_base
BASE_IMAGE: h4ckermike/act_base
POETRY_VERSION: 1.6.1
entrypoint: /bin/bash
stdin_open: true # docker run -i
tty: true # docker run -t

depends_on:
- act_base

ai_ticket: # the ticket to unite
image: h4ckermike/ai_ticket
build:
context: .
args:
BASE_IMAGE: act_base
BASE_IMAGE: h4ckermike/poetry_base
depends_on:
- poetry_base

basic_agent: #basic agnet
basic_agent: #basic agent
image: h4ckermike/basic_agent
build:
context: vendor/basic_agent/
args:
OFFICIAL_PYTHON_IMAGE: act_base
BASE_IMAGE: h4ckermike/ai_ticket
depends_on:
- ai_ticket

Expand All @@ -35,10 +43,14 @@ services:
environment:
- GITHUB_PAT=${GITHUB_PAT}
- GITHUB_REPO=${GITHUB_REPO}
image: h4ckermike/mockopenai
build:
context: vendor/lollms/
args:
OFFICIAL_PYTHON_IMAGE: localhost/ai-ticket_ai_ticket:latest
BASE_IMAGE: h4ckermike/ai_ticket
volumes:
- /var/run/docker.sock:/var/run/docker.sock

ports:
- "5000:8080"

Expand All @@ -59,8 +71,9 @@ services:
context: vendor/Auto-GPT/
dockerfile: slim/Dockerfile
args:
OFFICIAL_PYTHON_IMAGE: localhost/ai-ticket_ai_ticket:latest
BASE_IMAGE: h4ckermike/basic_agent

depends_on:
- basic_agent
- mockopenai
image: h4ckermike/autogpt
1 change: 0 additions & 1 deletion dockerbuild/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion dockerbuild/Readme.md

This file was deleted.

Empty file removed dockerbuild/__init__.py
Empty file.
71 changes: 0 additions & 71 deletions dockerbuild/baseimage.py

This file was deleted.

30 changes: 0 additions & 30 deletions dockerbuild/constants.py

This file was deleted.

57 changes: 0 additions & 57 deletions dockerbuild/images.py

This file was deleted.

79 changes: 0 additions & 79 deletions dockerbuild/publish.py

This file was deleted.

2 changes: 1 addition & 1 deletion vendor/Auto-GPT
2 changes: 1 addition & 1 deletion vendor/basic_agent
Submodule basic_agent updated 1 files
+2 −2 Dockerfile
2 changes: 1 addition & 1 deletion vendor/lollms
Submodule lollms updated 2 files
+2 −0 .dockerignore
+2 −2 Dockerfile
2 changes: 1 addition & 1 deletion vendor/python-poetry

0 comments on commit 7d5a08a

Please sign in to comment.