File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ services:
33 extends :
44 file : compose.yaml
55 service : app
6+ env_file :
7+ - .env
68 environment :
79 SECRET_KEY : supersecret
810 SEGMENT_WRITE_KEY : ${SEGMENT_WRITE_KEY} # Set your Segment write key here or in the .env file
911 SESSION_COOKIE_SECURE : 0
10- OPENAI_API_KEY : ${OPENAI_API_KEY} # Set your OpenAI API key here or in the .env file
1112 OPENAI_BASE_URL : " http://llm:5051/api/v1"
1213 SENTENCE_TRANSFORMERS_HOME : /app/sentence-transformers
1314 volumes :
@@ -20,6 +21,8 @@ services:
2021 extends :
2122 file : compose.yaml
2223 service : llm
24+ env_file :
25+ - .env
2326 ports :
2427 - target : 5051
2528 published : 5051
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
1717 SECRET_KEY :
1818 SEGMENT_WRITE_KEY :
1919 SESSION_COOKIE_SECURE : 1
20- OPENAI_API_KEY : # Set your OpenAI API key here or in the .env file
20+ OPENAI_API_KEY : ${OPENAI_API_KEY} # Set your OpenAI API key here or in the .env file
2121 OPENAI_BASE_URL : " http://llm/api/v1"
2222 MODEL : " anthropic.claude-3-sonnet-20240229-v1:0"
2323 command : uwsgi --http 0.0.0.0:5050 --wsgi-file app.py --callable app --processes 4 --threads 2
You can’t perform that action at this time.
0 commit comments