fix for linux (#175)

* fix for linux

* fix pre commit

* fix

* fix extra white space

* fix commit
This commit is contained in:
Co Tran 2024-10-10 14:56:23 -07:00 committed by GitHub
parent 639839fbb1
commit 2c45de26e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 0 deletions

View file

@ -12,3 +12,5 @@ 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,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:

View file

@ -18,3 +18,5 @@ 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,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"