Files
cobalt/compose-botprotect.yml
2026-01-16 18:02:12 -05:00

27 lines
669 B
YAML

---
services:
app:
secrets:
- turnstile_secret
- jwt_secret
environment:
- TURNSTILE_SECRET=/run/secrets/turnstile_secret
- JWT_SECRET=/run/secrets/jwt_secret
configs:
- source: custom_entrypoint
target: /custom_entrypoint.sh
mode: 0555
entrypoint: /custom_entrypoint.sh
secrets:
turnstile_secret:
external: true
name: ${STACK_NAME}_turnstile_secret_${SECRET_TURNSTILE_SECRET_VERSION}
jwt_secret:
external: true
name: ${STACK_NAME}_jwt_secret_${SECRET_JWT_SECRET_VERSION}
configs:
custom_entrypoint:
name: ${STACK_NAME}_custom_entrypoint_${ENTRYPOINT_VERSION}
file: entrypoint.sh