2.2-stable docs
This commit is contained in:
commit
b5afe228dc
@ -92,10 +92,9 @@ loglevel = "debug"
|
|||||||
logfile = "/var/log/hmac-file-server.log"
|
logfile = "/var/log/hmac-file-server.log"
|
||||||
metricsenabled = true
|
metricsenabled = true
|
||||||
metricsport = "9090"
|
metricsport = "9090"
|
||||||
deduplicationenabled = true
|
|
||||||
minfreebytes = "5GB"
|
minfreebytes = "5GB"
|
||||||
filettl = "2Y"
|
filettl = "2Y"
|
||||||
filettlenabled = true # Enable or disable file TTL
|
filettlenabled = true
|
||||||
autoadjustworkers = true
|
autoadjustworkers = true
|
||||||
networkevents = false
|
networkevents = false
|
||||||
pidfilepath = "./hmac-file-server.pid"
|
pidfilepath = "./hmac-file-server.pid"
|
||||||
@ -105,6 +104,12 @@ precaching = true
|
|||||||
enabled = true
|
enabled = true
|
||||||
directory = "/mnt/nfs_vol01/hmac-storage/deduplication/"
|
directory = "/mnt/nfs_vol01/hmac-storage/deduplication/"
|
||||||
|
|
||||||
|
[iso]
|
||||||
|
Enabled = false
|
||||||
|
Size = "2TB"
|
||||||
|
MountPoint = "/mnt/iso"
|
||||||
|
Charset = "utf-8"
|
||||||
|
|
||||||
[thumbnails]
|
[thumbnails]
|
||||||
enabled = true
|
enabled = true
|
||||||
directory = "/mnt/nfs_vol01/hmac-file-server/thumbnails/"
|
directory = "/mnt/nfs_vol01/hmac-file-server/thumbnails/"
|
||||||
|
@ -113,13 +113,32 @@ MetricsEnabled = true
|
|||||||
MetricsPort = "9090"
|
MetricsPort = "9090"
|
||||||
FileTTL = "1y"
|
FileTTL = "1y"
|
||||||
FileTTLEnabled = true # Enable or disable file TTL
|
FileTTLEnabled = true # Enable or disable file TTL
|
||||||
DeduplicationEnabled = true
|
|
||||||
MinFreeBytes = "100MB"
|
MinFreeBytes = "100MB"
|
||||||
AutoAdjustWorkers = true # Enable auto-adjustment for worker scaling
|
AutoAdjustWorkers = true # Enable auto-adjustment for worker scaling
|
||||||
NetworkEvents = false # Disable logging and tracking of network-related events
|
NetworkEvents = false # Disable logging and tracking of network-related events
|
||||||
PIDFilePath = "./hmac_file_server.pid" # Path to PID file
|
PIDFilePath = "./hmac_file_server.pid" # Path to PID file
|
||||||
Precaching = true # Enable pre-caching of storage paths
|
Precaching = true # Enable pre-caching of storage paths
|
||||||
ThumbnailEnabled = false # Whether to create thumbnails for uploaded images
|
|
||||||
|
[deduplication]
|
||||||
|
enabled = true
|
||||||
|
directory = "/mnt/nfs_vol01/hmac-storage/deduplication/"
|
||||||
|
|
||||||
|
[iso]
|
||||||
|
Enabled = false
|
||||||
|
Size = "2TB"
|
||||||
|
MountPoint = "/mnt/iso"
|
||||||
|
Charset = "utf-8"
|
||||||
|
|
||||||
|
[thumbnails]
|
||||||
|
enabled = true
|
||||||
|
directory = "/mnt/nfs_vol01/hmac-file-server/thumbnails/"
|
||||||
|
size = "200x200"
|
||||||
|
|
||||||
|
[iso]
|
||||||
|
enabled = false
|
||||||
|
size = "1TB"
|
||||||
|
mountpoint = "/mnt/nfs_vol01/hmac-file-server/iso/"
|
||||||
|
charset = "utf-8"
|
||||||
|
|
||||||
[timeouts]
|
[timeouts]
|
||||||
ReadTimeout = "480s"
|
ReadTimeout = "480s"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user