Skip to content

Commit

Permalink
Adding llm-wrap as 'llm-service'. This also switches shl-creator to the
Browse files Browse the repository at this point in the history
epic-uwmed-prod branch, will need to revert that at some point.
  • Loading branch information
mcjustin committed Oct 15, 2024
1 parent df420af commit fc81195
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dev/default.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ COMPOSE_PROJECT_NAME=
#FHIR_IMAGE_TAG=

#POSTGRES_IMAGE_TAG=

#OPENAI_API_KEY=
19 changes: 18 additions & 1 deletion dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ services:
- fhir-internal

shl-creator:
image: ghcr.io/uwcirg/shl-ips:${SHL_CREATOR_IMAGE_TAG:-latest}
#image: ghcr.io/uwcirg/shl-ips:${SHL_CREATOR_IMAGE_TAG:-latest}
#image: ghcr.io/uwcirg/shl-ips:${SHL_CREATOR_IMAGE_TAG:-ai-chat-experimental}
image: ghcr.io/uwcirg/shl-ips:${SHL_CREATOR_IMAGE_TAG:-epic-uwmed-prod}
environment:
VITE_API_BASE: https://shl-server.${BASE_DOMAIN}/api
VITE_INTERMEDIATE_FHIR_SERVER_BASE: https://fhir.${BASE_DOMAIN}/fhir/
Expand Down Expand Up @@ -103,6 +105,21 @@ services:
networks:
- ingress

llm-service:
image: ghcr.io/uwcirg/llm-wrap:${LLM_SERVICE_IMAGE_TAG:-latest}
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
#ports:
# - "5000:5000"
labels:
- traefik.enable=true
- traefik.http.routers.shl-creator-${COMPOSE_PROJECT_NAME}.rule=Host(`llm-service.${BASE_DOMAIN}`)
- traefik.http.routers.shl-creator-${COMPOSE_PROJECT_NAME}.entrypoints=websecure
- traefik.http.routers.shl-creator-${COMPOSE_PROJECT_NAME}.tls=true
- traefik.http.routers.shl-creator-${COMPOSE_PROJECT_NAME}.tls.certresolver=letsencrypt
networks:
- ingress

volumes:
db-data: {}
shl-server-data: {}
Expand Down

0 comments on commit fc81195

Please sign in to comment.