Skip to content

Commit 1cfdbf5

Browse files
committed
Refactor LLM service configuration by removing Azure-specific environment variables and labels
1 parent 6781ed6 commit 1cfdbf5

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

compose.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,10 @@ services:
8181
context: ./llm
8282
dockerfile: Dockerfile
8383
environment:
84-
AZURE_OPENAI_KEY: ${AZURE_OPENAI_KEY}
85-
AZURE_OPENAI_ENDPOINT: https://<your-resource>.openai.azure.com/
86-
AZURE_OPENAI_DEPLOYMENT: gpt-4-1106-preview
87-
DATABASE_URL: postgresql://postgres:postgres@database:5432/postgres
84+
- CHAIR_API_KEY=${CHAIR_API_KEY:-your_api_key_here}
8885
ports:
8986
- "5000:5000"
9087
restart: unless-stopped
91-
labels:
92-
- "traefik.enable=true"
93-
- "traefik.http.routers.llm.rule=Host(`${LLM_HOST:-localhost:5000}`)"
94-
- "traefik.http.services.llm.loadbalancer.server.port=5000"
95-
- "traefik.http.routers.llm.entrypoints=websecure"
96-
- "traefik.http.routers.llm.tls.certresolver=letsencrypt"
9788

9889
volumes:
9990
db_data:

0 commit comments

Comments
 (0)