-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
100 lines (78 loc) · 2.13 KB
/
.env.example
File metadata and controls
100 lines (78 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# ====================================
# DOCPRO CONFIGURATION
# Copy this file to .env and edit as needed
# ====================================
# ============ Network Settings ============
COMPOSE_PROJECT_NAME=docpro
NETWORK_NAME=doc-net
# ============ Service Ports ============
# Elasticsearch
ELASTICSEARCH_HTTP_PORT=9200
# Kibana
KIBANA_PORT=5601
# MinIO
MINIO_API_PORT=9000
MINIO_CONSOLE_PORT=9001
# Tika
TIKA_PORT=9998
# OCR Service
OCR_PORT=8081
# Ollama
OLLAMA_PORT=11437
# Node-RED
NODE_RED_PORT=1880
# Redis
REDIS_PORT=6379
# ============ MinIO Configuration ============
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=minioadmin123
MINIO_BUCKET=documents
MINIO_REGION=us-east-1
MINIO_DEFAULT_BUCKET=documents
MINIO_PROCESSED_BUCKET=processed
# ============ Elasticsearch Configuration ============
ELASTICSEARCH_HOST=elasticsearch
ELASTICSEARCH_PORT=9200
ES_JAVA_OPTS=-Xms512m -Xmx512m
ELASTICSEARCH_DISCOVERY_TYPE=single-node
XPACK_SECURITY_ENABLED=false
ES_INDEX_DOCUMENTS=documents
ES_INDEX_ALERTS=compliance-alerts
# ============ Kibana Configuration ============
KIBANA_ELASTICSEARCH_HOST=http://elasticsearch:9200
KIBANA_SERVER_NAME=kibana
# ============ Tika Configuration ============
TIKA_ENDPOINT=http://tika:9998
TIKA_TIMEOUT_MS=30000
# ============ OCR Configuration ============
OCR_SERVICE_URL=http://ocr:8080
OCR_LANGUAGE=eng+pol
OCR_DPI=300
OCR_PREPROCESSING=true
# ============ AI Configuration ============
OLLAMA_HOST=ollama
OLLAMA_PORT=11434
LLM_MODEL=llama2:13b
LLM_TEMPERATURE=0.1
CONFIDENCE_THRESHOLD=0.8
# ============ Redis Configuration ============
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# ============ Node-RED Configuration ============
NODE_RED_CREDENTIAL_SECRET=your-secret-key-here
NODE_RED_UI_HOST=0.0.0.0
NODE_RED_UI_PORT=1880
# ============ Application Settings ============
LOG_LEVEL=INFO
MAX_DOCUMENT_SIZE=50MB
SUPPORTED_FORMATS=pdf,docx,png,jpg,jpeg,tiff
TZ=Europe/Warsaw
# ============ Notification Settings ============
SLACK_WEBHOOK_URL=
EMAIL_ALERTS_TO=
# ============ Compliance Settings ============
COMPLIANCE_ENABLED=true
INVOICE_AMOUNT_THRESHOLD=10000
CONTRACT_RISK_ALERT=true