From dc436703940db9fe2fbc0b2942d8e0a8f5505edf Mon Sep 17 00:00:00 2001 From: BhasherBEL Date: Tue, 11 Jun 2024 17:21:09 +0200 Subject: [PATCH] Mealie fix & OpenAI --- bxl-shp/apps/docker-compose.mealie.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bxl-shp/apps/docker-compose.mealie.yaml b/bxl-shp/apps/docker-compose.mealie.yaml index 958254a..80aae6c 100644 --- a/bxl-shp/apps/docker-compose.mealie.yaml +++ b/bxl-shp/apps/docker-compose.mealie.yaml @@ -13,12 +13,17 @@ services: - OIDC_AUTH_ENABLED=true - OIDC_SIGNUP_ENABLE=true - OIDC_REMEMBER_ME=true - - OIDC_AUTO_REDIRECT=true + - OIDC_AUTO_REDIRECT=false - OIDC_CONFIGURATION_URL=https://idp.bhasher.com/.well-known/openid-configuration - OIDC_CLIENT_ID=mealie - OIDC_PROVIDER_NAME=Authelia - OIDC_USER_GROUP=everybody - OIDC_ADMIN_GROUP=admin + - OPENAI_BASE_URL=https://api.mistral.ai/v1/chat/completions + - OPENAI_API_KEY=${MISTRAL_API_KEY} + - OPENAI_MODEL=mistral-large-latest + - OPENAI_WORKERS=2 + - OPENAI_SEND_DATABASE_DATA=true labels: - "traefik.enable=true" - "traefik.http.routers.mealie.rule=Host(`recipes.bhasher.com`)" @@ -28,7 +33,7 @@ services: - "traefik.http.routers.mealie.entrypoints=internalsecure,externalsecure" - "com.centurylinklabs.watchtower.enable=true" volumes: - - $DATA/mealiev1/:/app/data + - $DATA/mealie/v2:/app/data networks: - external