forked from Commonjava/pathmap-storage-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yaml
More file actions
100 lines (94 loc) · 2.45 KB
/
application.yaml
File metadata and controls
100 lines (94 loc) · 2.45 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
# Quarkus will choose application.yaml over application.properties.
quarkus:
http:
port: 8080
read-timeout: 30m
limits:
max-body-size: 1024M
oidc:
enabled: true
auth-server-url: "https://localhost:8543/realms/indyreposervice"
client-id: indy
credentials:
secret: secret
tls:
verification: none
token:
issuer: any
security:
auth:
enabled-in-dev-mode: false
otel:
enabled: true
traces:
enabled: true
sampler:
~: traceidratio
arg: 0.05
resource:
attributes:
- "service.name=pathmap-storage-service"
- "sample.rate=0.05"
- "deployment.environment=localhost"
# exporter:
# otlp:
# traces:
# endpoint: http://localhost:4317
# Logging (disable console on prod)
log:
level: INFO
category:
"org.commonjava.service.storage":
level: DEBUG
console:
level: DEBUG
enable: true
file:
enable: true
path: "log/pathmap.log"
level: DEBUG
format: "%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n"
rotation:
max-backup-index: 5
max-file-size: 10M
swagger-ui:
always-include: true
cassandra:
host: localhost
port: 9042
user: cassandra
pass: cassandra
keyspace: indystorage
storage:
baseDir: "/tmp"
readonly: false
deduplicatePattern: "(generic-http|npm).+"
removableFilesystemPattern: ".+:(remote|group):.+"
filesystemsCacheTtlSeconds: 600
#type: s3
#bucket:
# name: test
"%dev":
quarkus:
log:
level: INFO
category:
"org.commonjava.service.storage":
level: DEBUG
console:
enable: true
file:
enable: true
path: "/tmp/pathmap-storage-service.log"
format: "%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n"
rotation:
max-backup-index: 5
max-file-size: 10M
oidc:
enabled: false
cassandra:
host: localhost
port: 9042
user: cassandra
pass: cassandra
keyspace: indystorage