Skip to content

Commit b27adc4

Browse files
authored
Merge pull request #1 from Rabbit-Company/feature/history
Added History API endpoints
2 parents 2d005e9 + 58fbca0 commit b27adc4

File tree

14 files changed

+1960
-662
lines changed

14 files changed

+1960
-662
lines changed

.env-example

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,19 @@ OPEN_METRICS_ENABLED=false
6060
# Protect OpenMetrics API endpoint with Bearer authentication
6161
# Set to "none" to disable authentication (not recommended for production)
6262
# Default: none
63-
OPEN_METRICS_AUTH_TOKEN=none
63+
OPEN_METRICS_AUTH_TOKEN=none
64+
65+
# Enable/disable history recording
66+
HISTORY_ENABLED=true
67+
68+
# ClickHouse Connection
69+
CLICKHOUSE_HOST=clickhouse
70+
CLICKHOUSE_PORT=8123
71+
CLICKHOUSE_DATABASE=rabbitforex
72+
CLICKHOUSE_USERNAME=rabbitforex_user
73+
CLICKHOUSE_PASSWORD=rabbitforex_password
74+
75+
# ClickHouse Performance Settings
76+
CLICKHOUSE_COMPRESSION=true
77+
CLICKHOUSE_MAX_CONNECTIONS=10
78+
CLICKHOUSE_TIMEOUT=30000

0 commit comments

Comments
 (0)