-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
71 lines (53 loc) · 2.41 KB
/
env.example
File metadata and controls
71 lines (53 loc) · 2.41 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
# Mem4j Environment Configuration
# Copy this file to .env and fill in your actual values
# =============================================================================
# API Keys (Required)
# =============================================================================
# DashScope (阿里云通义千问) API Key
# 获取地址: https://dashscope.console.aliyun.com/
DASHSCOPE_API_KEY=your-dashscope-api-key
# OpenAI API Key (Optional, if using OpenAI services)
# 获取地址: https://platform.openai.com/api-keys
OPENAI_API_KEY=your-openai-api-key
# =============================================================================
# Database Configuration
# =============================================================================
# PostgreSQL Database
POSTGRES_DB=mem4j
POSTGRES_USER=mem4j
POSTGRES_PASSWORD=your-secure-password
# Neo4j Graph Database
NEO4J_AUTH=neo4j/your-neo4j-password
# =============================================================================
# Application Configuration
# =============================================================================
# Spring Profile (docker, dev, prod)
SPRING_PROFILES_ACTIVE=docker
# JVM Options
JAVA_OPTS=-Xmx1g -Xms512m
# =============================================================================
# Optional Services Configuration
# =============================================================================
# Elasticsearch (if using)
# ES_JAVA_OPTS=-Xms512m -Xmx512m
# Qdrant Configuration
# QDRANT_API_KEY=your-qdrant-api-key
# =============================================================================
# Development/Debugging
# =============================================================================
# Log Level (INFO, DEBUG, WARN, ERROR)
# LOGGING_LEVEL_ROOT=INFO
# LOGGING_LEVEL_MEM4J=DEBUG
# =============================================================================
# Security (Production)
# =============================================================================
# Enable HTTPS (for production)
# SERVER_SSL_ENABLED=true
# SERVER_SSL_KEY_STORE=classpath:keystore.p12
# SERVER_SSL_KEY_STORE_PASSWORD=your-keystore-password
# =============================================================================
# Monitoring (Optional)
# =============================================================================
# Management endpoints
# MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE=health,info,metrics
# MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS=always