File tree Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Expand file tree Collapse file tree 1 file changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,8 @@ 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 : " 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"
27
26
INTERCOM_TOKEN :
28
27
INTERCOM_ADMIN_ID :
29
28
REDIS_URL : redis://redis:6379/0
@@ -55,23 +54,20 @@ services:
55
54
networks :
56
55
- private
57
56
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
75
71
76
72
discord-bot :
77
73
restart : unless-stopped
You can’t perform that action at this time.
0 commit comments