File tree Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Expand file tree Collapse file tree 1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ services:
21
21
SEGMENT_WRITE_KEY :
22
22
SESSION_COOKIE_SECURE : 1
23
23
OPENAI_API_KEY : ${OPENAI_API_KEY} # Set your OpenAI API key here or in the .env file
24
- OPENAI_BASE_URL : " http://llm/api/v1"
25
- MODEL : " ai/claude3-haiku"
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"
26
27
INTERCOM_TOKEN :
27
28
INTERCOM_ADMIN_ID :
28
29
REDIS_URL : redis://redis:6379/0
@@ -54,20 +55,23 @@ services:
54
55
networks :
55
56
- private
56
57
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
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
71
75
72
76
discord-bot :
73
77
restart : unless-stopped
You can’t perform that action at this time.
0 commit comments