feat: add ALTCHA captcha configuration to docker-compose

This commit is contained in:
hamed
2026-07-10 11:07:44 +03:30
parent 8b6d431f61
commit 6f2e0ec2f1
+6
View File
@@ -36,6 +36,12 @@ x-app-env: &app-env
OTP_TTL: "1200"
MAX_FILE_SIZE_BYTES: "5242880"
UPLOAD_DIR: var/uploads
# ALTCHA self-hosted captcha. HMAC key is a secret → inject from Coolify's
# Environment Variables tab. Enabled in prod; tunables fixed here.
ALTCHA_ENABLED: "1"
ALTCHA_HMAC_KEY: ${ALTCHA_HMAC_KEY}
ALTCHA_MAX_NUMBER: "100000"
ALTCHA_EXPIRE_SECONDS: "300"
# Shared volume mounts for services that read/write JWT keys and uploads.
x-app-volumes: &app-volumes