Merge pull request 'Configure librecaptcha configuration for the development environment' (#179) from disable-librecaptcha-demo into main
All checks were successful
Check usage of free licenses / check-licenses (push) Successful in 1m4s
Run unit tests / unit_tests (push) Successful in 2m32s
Build Nginx-based docker image / build-static-assets (push) Successful in 23m0s

Reviewed-on: #179
This commit is contained in:
bustikiller 2024-12-09 17:29:04 +00:00
commit ac09d67f4f
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": {}
}
]
}