-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
90 lines (81 loc) · 3.36 KB
/
.env.example
File metadata and controls
90 lines (81 loc) · 3.36 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
# Jiro Client Environment Configuration
# Copy this file to .env and fill in your values
# All environment variables can override appsettings.json using JIRO_ prefix
# ======================
# Core Application Configuration (REQUIRED)
# ======================
JIRO_ApiKey=your-jiro-api-key-here
# ======================
# OpenAI Configuration (required for AI features)
# ======================
OPENAI_API_KEY=sk-your-openai-api-key-here
JIRO_Chat__AuthToken=sk-your-openai-api-key-here
JIRO_Chat__SystemMessage=I want you to act as personal assistant called Jiro. You are friendly, funny and sarcastic. You can ask me anything you want and engage in conversation.
JIRO_Chat__TokenLimit=2000
JIRO_Chat__Enabled=true
# ======================
# JiroCloud Service Configuration (REQUIRED)
# ======================
JIRO_JiroCloud__ApiKey=your-jirocloud-api-key-from-web-app
JIRO_JiroCloud__ApiUrl=https://jiro.huebytes.com/api/
JIRO_JiroCloud__Grpc__ServerUrl=https://jiro.huebytes.com/grpc
JIRO_JiroCloud__Grpc__MaxRetries=3
JIRO_JiroCloud__Grpc__TimeoutMs=30000
JIRO_JiroCloud__WebSocket__HubUrl=https://jiro.huebytes.com/hubs/instanceHub
JIRO_JiroCloud__WebSocket__HandshakeTimeoutMs=15000
JIRO_JiroCloud__WebSocket__KeepAliveIntervalMs=15000
JIRO_JiroCloud__WebSocket__ReconnectionAttempts=5
JIRO_JiroCloud__WebSocket__ReconnectionDelayMs=5000
JIRO_JiroCloud__WebSocket__ServerTimeoutMs=30000
JIRO_JiroCloud__WebSocket__Headers__User-Agent=Jiro-Bot/1.0
# ======================
# Database Configuration (SQLite for local development)
# ======================
JIRO_ConnectionStrings__JiroContext=Data Source=Data/Database/jiro.db
# ======================
# Data Paths Configuration
# ======================
JIRO_DataPaths__Logs=Data/Logs
JIRO_DataPaths__Messages=Data/Messages
JIRO_DataPaths__Plugins=Data/Plugins
JIRO_DataPaths__Themes=Data/Themes
# ======================
# Serilog Logging Configuration
# ======================
JIRO_Serilog__MinimumLevel__Default=Information
JIRO_Serilog__MinimumLevel__Override__System=Warning
JIRO_Serilog__MinimumLevel__Override__Microsoft=Warning
JIRO_Serilog__MinimumLevel__Override__Microsoft_AspNetCore=Warning
JIRO_Serilog__MinimumLevel__Override__Microsoft_EntityFrameworkCore_Database_Command=Warning
JIRO_Serilog__WriteTo__1__Args__path=Data/Logs/jiro-.log
JIRO_Serilog__WriteTo__1__Args__rollingInterval=Day
JIRO_Serilog__WriteTo__1__Args__retainedFileCountLimit=7
JIRO_Serilog__Properties__Application=Jiro
# ======================
# Docker Configuration
# ======================
# Documentation service port
JIRO_DOCS_PORT=8081
# ======================
# Environment Variable Pattern
# ======================
# Use JIRO_SECTION__SUBSECTION__KEY pattern to override any appsettings.json value
# Double underscores (__) are converted to colons (:) in the configuration path
# Examples:
# - JIRO_ConnectionStrings__JiroContext (overrides ConnectionStrings.JiroContext)
# - JIRO_Chat__AuthToken (overrides Chat.AuthToken)
# - JIRO_DataPaths__Logs (overrides DataPaths.Logs)
# ======================
# Docker Compose Profiles Usage
# ======================
# Default profile (jiro-kernel only):
# docker-compose up
#
# With documentation service:
# docker-compose --profile docs up
# docker-compose --profile full up
#
# Available profiles:
# - default: jiro-kernel service only
# - docs: includes documentation service
# - full: includes all services (same as docs currently)