diff --git a/community-containers/local-ai/local-ai.json b/community-containers/local-ai/local-ai.json index ea180eb9..fceb4394 100644 --- a/community-containers/local-ai/local-ai.json +++ b/community-containers/local-ai/local-ai.json @@ -12,6 +12,7 @@ "TZ=%TIMEZONE%", "LOCALAI_API_KEY=%LOCALAI_API_KEY%", "LOCALAI_ADDRESS=:10078", + "LOCALAI_CONFIG_DIR=/configuration", "LOCALAI_MODEL_PATH=/models", "LOCALAI_BACKEND_PATH=/backends" ], @@ -23,6 +24,11 @@ } ], "volumes": [ + { + "source": "nextcloud_aio_localai_configuration", + "destination": "/configuration", + "writeable": true + }, { "source": "nextcloud_aio_localai_models", "destination": "/models", @@ -48,6 +54,9 @@ "php /var/www/html/occ config:app:set integration_openai api_key --value %LOCALAI_API_KEY%", "php /var/www/html/occ app:install assistant", "php /var/www/html/occ app:enable assistant" + ], + "backup_volumes": [ + "nextcloud_aio_localai_configuration" ] } ]