Skip to content

Commit 1eacd23

Browse files
Revert "try using openai instead of the gateway through vertex"
This reverts commit d6bc399.
1 parent f4b22df commit 1eacd23

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

compose.yaml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ services:
2121
SEGMENT_WRITE_KEY:
2222
SESSION_COOKIE_SECURE: 1
2323
OPENAI_API_KEY: ${OPENAI_API_KEY} # Set your OpenAI API key here or in the .env file
24-
OPENAI_BASE_URL: "https://api.openai.com/v1" # Use the official OpenAI API endpoint
25-
# OPENAI_BASE_URL: "http://llm/api/v1"
26-
MODEL: "gpt-4o-2024-08-06"
24+
OPENAI_BASE_URL: "http://llm/api/v1"
25+
MODEL: "ai/claude3-haiku"
2726
INTERCOM_TOKEN:
2827
INTERCOM_ADMIN_ID:
2928
REDIS_URL: redis://redis:6379/0
@@ -55,23 +54,20 @@ services:
5554
networks:
5655
- private
5756

58-
# llm:
59-
# # image: defangio/openai-access-gateway
60-
# build:
61-
# context: ../openai-access-gateway/src
62-
# dockerfile: Dockerfile_ecs
63-
# x-defang-llm: true
64-
# ports:
65-
# - target: 80
66-
# published: 80
67-
# protocol: tcp
68-
# mode: host
69-
# environment:
70-
# - OPENAI_API_KEY=${OPENAI_API_KEY}
71-
# healthcheck:
72-
# test: ["CMD", "curl", "-f", "http://localhost/health"]
73-
# networks:
74-
# - private
57+
llm:
58+
image: defangio/openai-access-gateway
59+
x-defang-llm: true
60+
ports:
61+
- target: 80
62+
published: 80
63+
protocol: tcp
64+
mode: host
65+
environment:
66+
- OPENAI_API_KEY=${OPENAI_API_KEY}
67+
healthcheck:
68+
test: ["CMD", "curl", "-f", "http://localhost/health"]
69+
networks:
70+
- private
7571

7672
discord-bot:
7773
restart: unless-stopped

0 commit comments

Comments
 (0)