Configure librecaptcha configuration for the development environment #179
@ -40,6 +40,7 @@ services:
|
||||
image: librecaptcha/lc-core:latest
|
||||
volumes:
|
||||
- "./tmp/libre-captcha-data:/lc-core/data"
|
||||
- "./libre-captcha-config.json:/lc-core/data/config.json"
|
||||
ports:
|
||||
- 8888
|
||||
nginx:
|
||||
|
29
libre-captcha-config.json
Normal file
29
libre-captcha-config.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"randomSeed": -1534087241,
|
||||
"port": 8888,
|
||||
"address": "0.0.0.0",
|
||||
"captchaExpiryTimeLimit": 5,
|
||||
"bufferCount": 1000,
|
||||
"threadDelay": 2,
|
||||
"playgroundEnabled": false,
|
||||
"corsHeader": "",
|
||||
"maxAttemptsRatio": 0.009999999776482582,
|
||||
"captchas": [
|
||||
{
|
||||
"name": "FilterChallenge",
|
||||
"allowedLevels": [
|
||||
"hard"
|
||||
],
|
||||
"allowedMedia": [
|
||||
"image/png"
|
||||
],
|
||||
"allowedInputType": [
|
||||
"text"
|
||||
],
|
||||
"allowedSizes": [
|
||||
"350x100"
|
||||
],
|
||||
"config": {}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user