-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1.32 KB
/
.env.example
File metadata and controls
47 lines (38 loc) · 1.32 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
# LiNaStore Environment Variables Example
# Copy this file to .env and modify the values as needed
# Server IP address
# Default: 127.0.0.1
# For Docker, use 0.0.0.0 to listen on all interfaces
LINASTORE_IP=127.0.0.1
# HTTP service port
# Default: 8086
LINASTORE_HTTP_PORT=8086
# Advanced service port
# Default: 8096
LINASTORE_ADVANCED_PORT=8096
# Maximum payload size in bytes
# Default: 67108864 (64MB)
LINASTORE_MAX_PAYLOAD_SIZE=67108864
# Enable authentication for advanced service
# Set to any non-empty value to enable authentication
# Default: disabled (not set)
# LINASTORE_AUTH_REQUIRED=1
# Database connection URL
# Default (local): sqlite://./linadata/meta.db
# Default (Docker): sqlite:///app/linadata/meta.db
# Examples:
# SQLite: sqlite://./linadata/meta.db
# MySQL: mysql://user:password@localhost:3306/linastore
# PostgreSQL: postgres://user:password@localhost:5432/linastore
LINASTORE_DB_URL=sqlite://./linadata/meta.db
# Admin username (required when LINASTORE_AUTH_REQUIRED is set)
# Default: admin
LINASTORE_ADMIN_USER=admin
# Admin password (required when LINASTORE_AUTH_REQUIRED is set)
# No default value is provided for safety.
# Must be set explicitly when authentication is enabled.
# LINASTORE_ADMIN_PASSWORD=change-me
# Rust log level
# Options: error, warn, info, debug, trace
# Default: info
RUST_LOG=info