fix for linux

This commit is contained in:
cotran2 2024-10-10 18:09:43 +00:00
parent 639839fbb1
commit e0c4473217
5 changed files with 13 additions and 0 deletions

View file

@ -12,3 +12,6 @@ services:
- ~/archgw_logs:/var/log/
env_file:
- stage.env
extra_hosts:
- "host.docker.internal:host-gateway"

View file

@ -62,6 +62,7 @@ def build(services):
"-t",
"archgw:latest",
".",
"--add-host=host.docker.internal:host-gateway",
],
check=True,
)

View file

@ -18,6 +18,9 @@ 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:

View file

@ -18,3 +18,6 @@ services:
- "18080:8080"
environment:
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
extra_hosts:
- "host.docker.internal:host-gateway"

View file

@ -19,3 +19,6 @@ 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"