-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
115 lines (89 loc) · 3.88 KB
/
env.example
File metadata and controls
115 lines (89 loc) · 3.88 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# FlowTech-AI Environment Variables Template
# Copy this file to .env and configure your values
# Most variables are auto-generated by init.sh
# ============================================================================
# EXTERNAL SERVICES
# ============================================================================
# Ollama LLM Service
OLLAMA_BASE_URL=http://localhost:11434
# ============================================================================
# SERVICE PORTS
# ============================================================================
OPENWEBUI_PORT=8081
SEARXNG_PORT=8082
N8N_PORT=5678
LANGFUSE_PORT=3300
# ============================================================================
# POSTGRESQL DATABASE
# ============================================================================
POSTGRES_USER=n8n
POSTGRES_DB=n8n
POSTGRES_PASSWORD=<auto-generated-by-init.sh>
# ============================================================================
# LANGFUSE CONFIGURATION
# ============================================================================
LANGFUSE_HOST=http://langfuse:3000
LANGFUSE_EXTERNAL_URL=http://localhost:3300
LANGFUSE_TRACING_ENVIRONMENT=production
LANGFUSE_INIT_PROJECT_RETENTION=30
# Langfuse Admin User (configure in init.sh interactive mode)
LANGFUSE_INIT_USER_EMAIL=admin@flowtech.local
LANGFUSE_INIT_USER_PASSWORD=<auto-generated-or-custom>
# Langfuse Secrets (auto-generated by init.sh)
LANGFUSE_NEXTAUTH_SECRET=<auto-generated-hex-32>
LANGFUSE_SALT=<auto-generated-hex-16>
LANGFUSE_ENCRYPTION_KEY=<auto-generated-hex-32>
# Langfuse API Keys (auto-generated by init.sh)
LANGFUSE_PUBLIC_KEY=<auto-generated-lf_pk_*>
LANGFUSE_SECRET_KEY=<auto-generated-lf_sk_*>
LANGFUSE_INIT_PROJECT_PUBLIC_KEY=<auto-generated-lf_pk_*>
LANGFUSE_INIT_PROJECT_SECRET_KEY=<auto-generated-lf_sk_*>
# Langfuse Database Connection (auto-generated)
LANGFUSE_DATABASE_URL=postgresql://n8n:<password>@postgres:5432/langfuse
# Langfuse Organization & Project
LANGFUSE_INIT_ORG_ID=FlowTech-LAB
LANGFUSE_INIT_ORG_NAME=FlowTech-LAB
LANGFUSE_INIT_PROJECT_ID=default
LANGFUSE_INIT_PROJECT_NAME=Default
LANGFUSE_INIT_USER_NAME=Admin
# ============================================================================
# N8N AUTOMATION
# ============================================================================
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=<auto-generated-by-init.sh>
N8N_SECURITY_API_BEARER_AUTH=<auto-generated-64-chars>
# ============================================================================
# SAMBA SHARE (Optional - Network Notes Access)
# ============================================================================
# Configure in init.sh interactive mode or set manually
SAMBA_USER=admin
SAMBA_PASSWORD=<auto-generated-or-custom>
SAMBA_UID=1000
SAMBA_GID=1000
SAMBA_PORT=445
SAMBA_WORKGROUP=WORKGROUP
# ============================================================================
# INTERNAL SERVICES (auto-generated by init.sh)
# ============================================================================
# ClickHouse Analytics
CLICKHOUSE_PASSWORD=<auto-generated-by-init.sh>
# Redis Cache
REDIS_AUTH=<auto-generated-by-init.sh>
# MinIO Object Storage
MINIO_ROOT_PASSWORD=<auto-generated-by-init.sh>
# ============================================================================
# SYSTEM
# ============================================================================
TZ=Europe/Paris
# ============================================================================
# NOTES
# ============================================================================
# 1. Run: sudo ./init.sh
# - Interactive mode: You can set custom passwords for Langfuse and Samba
# - Non-interactive: All passwords are auto-generated
#
# 2. All <auto-generated-*> values are created automatically
#
# 3. For production: Change default emails and ensure strong passwords
#
# 4. Keep .env file SECRET - never commit to Git!