-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Hello,
I've setup LibreCaptcha with Docker on a server. I use this docker-compose:
version: '3'
services:
librecaptcha:
container_name: librecaptcha
image: librecaptcha/lc-core:latest
restart: always
volumes:
- librecaptcha_data:/lc-core/data
networks:
- librecaptcha-network
ports:
- 127.0.0.1:8888:8888
volumes:
librecaptcha_data:
networks:
librecaptcha-network:
name: librecaptchaI've edited the configuration file located in the Docker volume with this configuration:
{
"randomSeed": 1234,
"port": 8888,
"playgroundEnabled": false,
"throttle": 10,
"captchaExpiryTimeLimit": 5,
"bufferCount": 1000,
"threadDelay": 2,
"corsHeader": "",
"maxAttemptsRatio": 0.01,
"captchas": [{
"name": "FilterChallenge",
"allowedLevels": [
"medium",
"hard"
],
"allowedMedia": [
"image/png"
],
"allowedInputType": [
"text"
],
"config": {}
}, {
"name": "GifCaptcha",
"allowedLevels": [
"hard"
],
"allowedMedia": [
"image/gif"
],
"allowedInputType": [
"text"
],
"config": {}
}, {
"name": "ShadowTextCaptcha",
"allowedLevels": [
"easy"
],
"allowedMedia": [
"image/png"
],
"allowedInputType": [
"text"
],
"config": {}
}, {
"name": "RainDropsCaptcha",
"allowedLevels": [
"easy",
"medium"
],
"allowedMedia": [
"image/gif"
],
"allowedInputType": [
"text"
],
"config": {}
}]
}Configuration seems to be working fine.
However, even if the playgroundEnabled field is set to false, the demo is still served and available. I would like to disable this feature but I can't.
Thank you for any help