Files
HelmChartSammlung/charts/paperless-ai/files/config.js
Marko Oldenburg f3fbaf942e
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
refactor: move Helm chart to standard directory structure
This commit restructures the paperless-ai Helm chart by moving all files
 from the nested directory (charts/paperless-ai/paperless-ai/) to the
 standard Helm chart directory structure (charts/paperless-ai/). The change
 eliminates the redundant directory nesting that was causing issues with
 Helm chart packaging and installation. No functional changes were made to
 any files - this is purely a directory structure reorganization to follow
 Helm best practices and improve chart maintainability.
2025-06-27 08:43:57 +02:00

17 lines
459 B
JavaScript

require('dotenv').config();
module.exports = {
paperless: {
apiUrl: process.env.PAPERLESS_API_URL,
apiToken: process.env.PAPERLESS_API_TOKEN
},
openai: {
apiKey: process.env.OPENAI_API_KEY
},
ollama: {
apiUrl: process.env.OLLAMA_API_URL || 'http://localhost:11434',
model: process.env.OLLAMA_MODEL || 'llama2'
},
aiProvider: process.env.AI_PROVIDER || 'openai',
scanInterval: process.env.SCAN_INTERVAL || '*/30 * * * *'
};