Configure librecaptcha configuration for the development environment
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 1m5s
Add copyright notice / copyright_notice (pull_request) Successful in 1m47s
Run unit tests / unit_tests (pull_request) Successful in 2m33s

This commit is contained in:
Manuel Bustillo 2024-12-09 18:25:47 +01:00
parent ff0e0b6931
commit e8543d8fb4
2 changed files with 30 additions and 0 deletions

View File

@ -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
View 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": {}
}
]
}