This repository was archived by the owner on May 9, 2024. It is now read-only.
forked from artefactual-sdps/enduro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenduro.toml
More file actions
154 lines (128 loc) · 4.12 KB
/
enduro.toml
File metadata and controls
154 lines (128 loc) · 4.12 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# This is the configuration file valid for the development environment.
debug = true
debugListen = "127.0.0.1:9001"
verbosity = 2
[temporal]
namespace = "default"
address = "temporal.enduro-sdps:7233"
taskQueue = "global"
[api]
listen = "0.0.0.0:9000"
debug = false
corsOrigin = "http://localhost"
[api.auth]
enabled = true
[api.auth.oidc]
providerURL = "http://dex:5556"
clientID = "enduro"
clientSecret = "ZXhhbXBsZS1hcHAtc2VjcmV0"
[api.auth.ticket.redis]
address = "redis://redis.enduro-sdps:6379"
prefix = "enduro"
[event]
redisAddress = "redis://redis.enduro-sdps:6379"
redisChannel = "enduro-events"
[database]
driver = "mysql"
dsn = "enduro:enduro123@tcp(mysql.enduro-sdps:3306)/enduro"
migrate = true
[watcher.embedded]
name = "dev-minio"
redisAddress = "redis://redis.enduro-sdps:6379"
redisList = "minio-events"
endpoint = "http://minio.enduro-sdps:9000"
pathStyle = true
key = "minio"
secret = "minio123"
region = "us-west-1"
bucket = "sips"
stripTopLevelDir = true
[storage]
enduroAddress = "enduro-internal:9000"
[storage.database]
driver = "mysql"
dsn = "enduro:enduro123@tcp(mysql.enduro-sdps:3306)/enduro_storage"
migrate = true
[storage.internal]
endpoint = "http://minio.enduro-sdps:9000"
pathStyle = true
key = "minio"
secret = "minio123"
region = "us-west-1"
bucket = "aips"
# Change the taskqueue setting to your prefered preservation system, by default it is a3m.
[preservation]
taskqueue = "a3m"
[a3m]
address = "127.0.0.1:7000"
shareDir = "/home/a3m/.local/share/a3m/share"
# capacity limits the number of transfers a worker can process at one time
# (default: 1)
capacity = 1
[a3m.processing]
AssignUuidsToDirectories = true
ExamineContents = true
GenerateTransferStructureReport = true
DocumentEmptyDirectories = true
ExtractPackages = true
DeletePackagesAfterExtraction = true
IdentifyTransfer = true
IdentifySubmissionAndMetadata = true
IdentifyBeforeNormalization = true
Normalize = true
TranscribeFiles = true
PerformPolicyChecksOnOriginals = true
PerformPolicyChecksOnPreservationDerivatives = true
AipCompressionLevel = 1
AipCompressionAlgorithm = 6
[am]
address = ""
user = "" # Secret: set with env var ENDURO_AM_USER.
apiKey = "" # Secret: set with env var ENDURO_AM_APIKEY.
processingConfig = "automated"
# capacity limits the number of transfers a worker can process at one time
# (default: 1)
capacity = 1
# pollInterval is the time to wait between AM polling requests in a string
# format compatible with https://pkg.go.dev/time#ParseDuration (Default: 10s).
pollInterval = "10s"
# transferDeadline is the maximum time to wait for a transfer to complete in a
# format compatible with https://pkg.go.dev/time#ParseDuration. Set to "0" for
# no time limit.
transferDeadline = "1h"
[am.sftp]
host = "" # The Archivematica Storage Service hostname.
port = ""
user = ""
knownHostsFile = ""
remoteDir = "/transfer_source"
[am.sftp.privateKey]
path = ""
passphrase = "" # Secret: set (if required) with env var ENDURO_AM_SFTP_PRIVATEKEY_PASSPHRASE.
[upload]
endpoint = "http://minio.enduro-sdps:9000"
pathStyle = true
key = "minio"
secret = "minio123"
region = "us-west-1"
bucket = "sips"
[telemetry.traces]
enabled = false
address = ""
samplingRatio = 1.0
# Optional preprocessing child workflow configuration.
[preprocessing]
# enabled triggers the execution of the child workflow, when set to false all other
# options are ignored.
enabled = false
# extract determines if the package extraction happens on the child workflow.
extract = false
# sharedPath is the full path to the directory used to share the package between workflows,
# required when enabled is set to true.
sharedPath = "/home/enduro/preprocessing"
# Temporal configuration to trigger the preprocessing child workflow, all fields are
# required when enabled is set to true.
[preprocessing.temporal]
namespace = "default"
taskQueue = "preprocessing"
workflowName = "preprocessing"