Document hCaptcha secret configuration

This commit is contained in:
2026-08-25 01:05:22 +00:00
parent 36b6be1ff8
commit a418c19b07
+7
View File
@@ -40,6 +40,10 @@ Set secure MariaDB passwords in `.env`. Then, set at least these values in
"db_data_directory": "/var/lib/mysqlext/", "db_data_directory": "/var/lib/mysqlext/",
"redis_host": "valkey", "redis_host": "valkey",
"redis_port": 6379, "redis_port": 6379,
"captcha": {
"provider": "hcaptcha",
"secret": "replace with your hCaptcha secret"
},
"external_plugins": ["client-config"] "external_plugins": ["client-config"]
} }
``` ```
@@ -53,6 +57,9 @@ Set `domain` to the public host name of the backend. Do not include a protocol o
path. path.
Set `prefix` to `/{abbr}` when you use the official frontend. The Set `prefix` to `/{abbr}` when you use the official frontend. The
`client-config` plugin uses this relation to create frontend API URLs. `client-config` plugin uses this relation to create frontend API URLs.
Create an hCaptcha site for the public frontend domain. Set its secret in the
`captcha.secret` value. Set the related public site key as
`VITE_HCAPTCHA_SITEKEY` in the frontend deployment.
## Start the deployment ## Start the deployment