-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlabello.server.example.toml
More file actions
88 lines (79 loc) · 2.66 KB
/
Copy pathlabello.server.example.toml
File metadata and controls
88 lines (79 loc) · 2.66 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
# Copy this file to labello.server.toml and adjust it for your environment.
# The uncommented values are Labello's defaults.
bind = "127.0.0.1:8080"
datasetsRoot = "datasets"
bootstrapAdmins = ["admin"]
browserOrigins = [
"http://127.0.0.1:8081",
"http://localhost:8081",
]
sessionCookieSecure = false
[developmentAuth]
localAdminLogin = true
# Derived image previews are generated lazily. Keep the cache outside datasetsRoot.
[previews]
cacheRoot = ".labello-preview-cache"
[previews.limits]
maxSourceBytes = 67_108_864
maxPixels = 32_000_000
maxDecodedBytes = 268_435_456
workers = 2
cacheBytes = 2_147_483_648
cacheEntries = 4096
# Dataset import is disabled when this optional section is absent.
# [import]
# enabled = true
# retainRawSource = false
# failedRetentionHours = 24
# successfulMetadataRetentionDays = 30
# Every field in this optional section may be overridden independently.
# [import.limits]
# concurrentBuildJobs = 1
# imageValidationWorkers = 8
# decodedImageMemoryBytes = 5_368_709_120
# concurrentBrowserUploadJobs = 2
# activeReservationsPerOwner = 2
# browserSourceFiles = 25_000
# browserSourceBytes = 21_474_836_480
# serverSourceFiles = 50_000
# totalSourceBytes = 107_374_182_400
# selectedImages = 10_000
# singleSourceFileBytes = 4_294_967_296
# descriptorBytes = 16_777_216
# uploadChunkBytes = 8_388_608
# sourcePathBytes = 1_024
# sourcePathDepth = 32
# sourceComponentBytes = 255
# selectedCategories = 100
# selectedTasks = 200
# coverageEntries = 2_000_000
# annotationsTotal = 1_000_000
# annotationsPerImage = 10_000
# generatedFileBytesPerImage = 67_108_864
# keypointsPerSkeleton = 512
# yoloLineBytes = 1_048_576
# yoloColumns = 4_096
# structuredDataNesting = 64
# decodedImagePixels = 50_000_000
# decodedImageBytes = 536_870_912
# stagedBytes = 268_435_456_000
# diagnosticExamplesPerCode = 100
# [[import.serverRoots]]
# id = "curated-releases"
# path = "/srv/labello-imports"
# Empty allows every bootstrap administrator; otherwise only listed IDs see and may use the root.
# allowedOwners = ["admin"]
# GitHub OAuth is disabled by default. Uncomment the complete section to enable it.
# [githubOauth]
# clientId = "your-github-client-id"
# clientSecret = "your-github-client-secret"
# redirectUri = "https://api.example.com/auth/github/callback"
# Optional Linux dataset-export limits; omitted fields use these defaults.
# [export]
# No image-count or size quotas apply by default. Optional operator quotas:
# maxImages, maxFiles, maxSourceBytes, maxFileBytes, maxDecodedImageBytes,
# maxArchiveBytes, maxMetadataBytes. Omit these settings for unlimited size.
# maxConcurrentJobs = 1
# maxConcurrentDownloads = 2
# maxRetainedJobs = 8
# retentionSeconds = 86_400