forked from Nixius/authelia
19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
---
|
|
description: Never remove or alter subscribe/Stripe configuration
|
|
alwaysApply: true
|
|
---
|
|
|
|
# Subscribe / Stripe configuration is off-limits
|
|
|
|
**Do not under any circumstance:**
|
|
|
|
- Remove, comment out, reorder, or rename the `STRIPE_*` or subscribe-related environment variables in `stack.yml` (the `ss-atlas` service `environment:` block).
|
|
- Remove or alter the same variables in `.env`.
|
|
- Stash, replace, or overwrite `stack.yml` or `.env` in a way that drops or changes the Stripe/subscribe env vars.
|
|
- Add logic that clears or overwrites these values at deploy or runtime.
|
|
|
|
**Required subscribe-related vars in `stack.yml` for `ss-atlas`:**
|
|
`STRIPE_SECRET_KEY`, `STRIPE_WEBHOOK_SECRET`, `STRIPE_PRICE_ID`, `STRIPE_PRICE_ID_FREE`, `STRIPE_PRICE_ID_YEAR`, `STRIPE_PRICE_ID_MONTH_100`, `STRIPE_PRICE_ID_MONTH_200`, `STRIPE_PAYMENT_LINK`, `FREE_TIER_LIMIT`, `YEAR_TIER_LIMIT`, `MAX_SIGNUPS`.
|
|
|
|
**If editing `stack.yml` or deploy flow:** preserve the full `ss-atlas` environment section exactly; only add new vars or change non-Stripe defaults when the user explicitly asks.
|