Files
keila/compose.captcha.yml
2026-09-17 13:39:16 +01:00

25 lines
792 B
YAML

---
version: "3.8"
# Captcha on signup and subscription forms. Keila supports hCaptcha (https://www.hcaptcha.com) and Friendly Captcha (https://friendlycaptcha.com).
#
# Both CAPTCHA_SITE_KEY and the captcha_secret_key secret must be set, or Keila keeps its built-in staging keys, which accept everything.
services:
app:
environment:
# hcaptcha (default) or friendly_captcha
- CAPTCHA_PROVIDER
# Public key used in the browser.
- CAPTCHA_SITE_KEY
# Override the provider's verification endpoint. Leave unset for the default.
- CAPTCHA_VERIFY_URL
- CAPTCHA_SCRIPT_URL
secrets:
- captcha_secret_key
secrets:
captcha_secret_key:
external: true
name: ${STACK_NAME}_captcha_secret_key_${SECRET_CAPTCHA_SECRET_KEY_VERSION:-v1}