Configure librecaptcha configuration for the development environment
This commit is contained in:
parent
ff0e0b6931
commit
e8543d8fb4
@ -40,6 +40,7 @@ services:
|
|||||||
image: librecaptcha/lc-core:latest
|
image: librecaptcha/lc-core:latest
|
||||||
volumes:
|
volumes:
|
||||||
- "./tmp/libre-captcha-data:/lc-core/data"
|
- "./tmp/libre-captcha-data:/lc-core/data"
|
||||||
|
- "./libre-captcha-config.json:/lc-core/data/config.json"
|
||||||
ports:
|
ports:
|
||||||
- 8888
|
- 8888
|
||||||
nginx:
|
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