|
| 1 | +# UDAV Environment Configuration Example |
| 2 | +# Copy this file to .env and modify values as needed |
| 3 | + |
| 4 | +# ============================================ |
| 5 | +# Database Configuration |
| 6 | +# ============================================ |
| 7 | +DB_URL=jdbc:postgresql://postgres:5432/udav |
| 8 | +DB_USER=postgres |
| 9 | +DB_PASS=postgres |
| 10 | +DB_SCHEMA=public |
| 11 | +DB_DIALECT=POSTGRES |
| 12 | +# Batch size for database inserts (default: 5000) |
| 13 | +# Higher = fewer DB roundtrips, more memory. Range: 1000-15000 |
| 14 | +DB_BATCH_SIZE=5000 |
| 15 | +# Max identifier length (PostgreSQL: 63, MySQL: 64, MSSQL: 128) |
| 16 | +DB_MAX_IDENT=255 |
| 17 | + |
| 18 | +# ============================================ |
| 19 | +# DUUI Importer Configuration |
| 20 | +# ============================================ |
| 21 | +# Enable/disable DUUI importer |
| 22 | +DUUI_IMPORTER=false |
| 23 | +# Path to input files |
| 24 | +DUUI_IMPORTER_PATH=/app/data/input |
| 25 | +# File extension: .xmi (uncompressed) or .gz (gzip compressed) |
| 26 | +DUUI_IMPORTER_FILE_ENDING=.xmi |
| 27 | +# Number of parallel workers (default: 4, rule: 1 per CPU core) |
| 28 | +DUUI_IMPORTER_WORKERS=4 |
| 29 | +# UIMA CAS pool size (default: 2×workers) |
| 30 | +DUUI_IMPORTER_CAS_POOL_SIZE=8 |
| 31 | +# Optional: External TypeSystem XML file path (auto-detected from XMI if not set) |
| 32 | +DUUI_IMPORTER_TYPE_SYSTEM_PATH= |
| 33 | + |
| 34 | +# ============================================ |
| 35 | +# Application Configuration |
| 36 | +# ============================================ |
| 37 | +APP_INPUT_DIR=/app/data/input |
| 38 | + |
| 39 | +# ============================================ |
| 40 | +# Pipeline Configuration |
| 41 | +# ============================================ |
| 42 | +PIPELINE_IMPORTER=true |
| 43 | +PIPELINE_IMPORTER_FOLDER=/app/data/pipelines |
| 44 | +PIPELINE_IMPORTER_REPLACE_IF_DIFFERENT=false |
| 45 | + |
| 46 | +# ============================================ |
| 47 | +# Source Builder |
| 48 | +# ============================================ |
| 49 | +SROUCE_BUILDER=false |
| 50 | + |
| 51 | +# ============================================ |
| 52 | +# LLM API Configuration (optional) |
| 53 | +# ============================================ |
| 54 | +LLM_BASE_URL=http://your-llm-server:8000 |
| 55 | +LLM_API_TOKEN=your-api-token-here |
| 56 | + |
| 57 | +# ============================================ |
| 58 | +# Java Options |
| 59 | +# ============================================ |
| 60 | +# Adjust memory based on your system and data size |
| 61 | +JAVA_OPTS=-Xmx2048m -Xms1024m |
| 62 | + |
0 commit comments