mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
1e5ea7e09c
helps constraining resource usage and against flood attacks. Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
24 lines
473 B
JSON
24 lines
473 B
JSON
{
|
|
"version": "0.1.0-dev",
|
|
"storage": {
|
|
"rootDirectory": "/tmp/zot"
|
|
},
|
|
"http": {
|
|
"address": "127.0.0.1",
|
|
"port": "8080",
|
|
"ReadOnly": false,
|
|
"Ratelimit": {
|
|
"Rate": 10,
|
|
"Methods": [
|
|
{
|
|
"Method": "GET",
|
|
"Rate": 5
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"log": {
|
|
"level": "debug",
|
|
"output": "/tmp/zot.log"
|
|
}
|
|
}
|