Skip to content

Commit

Permalink
Fixes to Azure build
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed May 6, 2024
1 parent 8f94c2a commit d678eb5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ POSTGRES_RECIPE_PASSWORD=
RECIPE_DB_CONN_STRING=postgresql://${POSTGRES_RECIPE_USER}:${POSTGRES_RECIPE_PASSWORD}@${POSTGRES_RECIPE_HOST}:${POSTGRES_RECIPE_PORT}/${POSTGRES_RECIPE_DB}
# =========== Local Docker containers END ==========

CONFIG_PATH="/app/librechat.yaml"

#==================================================#
# Get Memory Action Configuration #
#==================================================#
Expand Down Expand Up @@ -382,7 +384,7 @@ FIREBASE_APP_ID=

APP_TITLE=LibreChat
# CUSTOM_FOOTER="My custom footer"
HELP_AND_FAQ_URL=https://librechat.ai
HELP_AND_FAQ_URL=https://www.datakind.org/privacy-policy/

# SHOW_BIRTHDAY_ICON=true

Expand Down
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ services:
MEILI_HOST: http://meilisearch:7700
RAG_PORT: ${RAG_PORT:-8000}
RAG_API_URL: http://rag-api:${RAG_PORT:-8000}
volumes:
- type: bind
source: ./.env
target: /app/.env
- ./ui/recipes_assistant_chat/images:/app/client/public/images
- ./ui/recipes_assistant_chat/logs:/app/api/logs
- ./ui/recipes_assistant_chat/tools:/app/api/app/clients/tools
- type: bind
source: ./ui/recipes_assistant_chat/librechat.yaml
target: /app/librechat.yaml
#volumes:
#- type: bind
# source: ./.env
# target: /app/.env
#- ./ui/recipes_assistant_chat/images:/app/client/public/images
#- ./ui/recipes_assistant_chat/logs:/app/api/logs
#- ./ui/recipes_assistant_chat/tools:/app/api/app/clients/tools
#- type: bind
# source: ./ui/recipes_assistant_chat/librechat.yaml
# target: /app/librechat.yaml
mongodb:
#platform: linux/amd64
container_name: haa-libre-chat-mongodb
Expand Down
2 changes: 1 addition & 1 deletion ui/recipes_assistant_chat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#FROM ghcr.io/danny-avila/librechat
FROM ghcr.io/danny-avila/librechat-dev:latest
#FROM ghcr.io/danny-avila/librechat:v0.7.0
RUN echo "!"
RUN echo "Hi!"
COPY .env /app/.env
COPY ./ui/recipes_assistant_chat/librechat.yaml /app/librechat.yaml
COPY ./ui/recipes_assistant_chat/images /app/client/public/images
Expand Down
7 changes: 3 additions & 4 deletions ui/recipes_assistant_chat/librechat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
version: 1.0.5

# Cache settings: Set to true to enable caching
cache: true
cache: false

# Custom nterface configuration
# Custom Interface configuration
interface:
# Privacy policy settings
privacyPolicy:
Expand All @@ -33,15 +33,14 @@ registration:

# Definition of custom endpoints
endpoints:
plugins: true
azureOpenAI:
titleModel: "gpt-4"
titleConvo: true
plugins: true
assistants: true
groups:
- group: "region-eastus2"
apiKey: "${AZURE_API_KEY_ENV}"
apiKey: 21e38dd24f114ef7b7ea8cd96112603a
instanceName: "dkopenai2"
version: "2024-02-15-preview"
assistants: true
Expand Down

0 comments on commit d678eb5

Please sign in to comment.