Skip to content

Commit

Permalink
fix for linux (#175)
Browse files Browse the repository at this point in the history
* fix for linux

* fix pre commit

* fix

* fix extra white space

* fix commit
  • Loading branch information
cotran2 authored Oct 10, 2024
1 parent 639839f commit 2c45de2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ services:
- ~/archgw_logs:/var/log/
env_file:
- stage.env
extra_hosts:
- "host.docker.internal:host-gateway"
1 change: 1 addition & 0 deletions arch/tools/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def build(services):
"-t",
"archgw:latest",
".",
"--add-host=host.docker.internal:host-gateway",
],
check=True,
)
Expand Down
2 changes: 2 additions & 0 deletions demos/function_calling/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ services:
- "18080:8080"
environment:
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1 #this is only because we are running the sample app in the same docker container environemtn as archgw
extra_hosts:
- "host.docker.internal:host-gateway"

opentelemetry:
build:
Expand Down
2 changes: 2 additions & 0 deletions demos/insurance_agent/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ services:
- "18080:8080"
environment:
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
extra_hosts:
- "host.docker.internal:host-gateway"
2 changes: 2 additions & 0 deletions demos/network_agent/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ services:
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY:?error}
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
extra_hosts:
- "host.docker.internal:host-gateway"

0 comments on commit 2c45de2

Please sign in to comment.