@@ -138,42 +138,43 @@ pnpm dev
138138
139139## Environment Variables 🔐
140140
141- | Variable | Description | Required | Example |
142- | ----------------------------------------- | -------------------------------------------------------- | ------------------------ | ----------------------------------------------------------- |
143- | ` POSTGRES_URL ` | PostgreSQL connection URL | To use external database | ` postgres://user:pass@localhost:5432/db ` |
144- | ` EMAIL_FROM ` | Sender email address
| For Email
| ` "Kan <[email protected] >" ` | 145- | ` SMTP_HOST ` | SMTP server hostname | For Email | ` smtp.resend.com ` |
146- | ` SMTP_PORT ` | SMTP server port | For Email | ` 465 ` |
147- | ` SMTP_USER ` | SMTP username/email | No | ` resend ` |
148- | ` SMTP_PASSWORD ` | SMTP password/token | No | ` re_xxxx ` |
149- | ` SMTP_SECURE ` | Use secure SMTP connection (defaults to true if not set) | For Email | ` true ` |
150- | ` NEXT_PUBLIC_DISABLE_EMAIL ` | To disable all email features | For Email | ` true ` |
151- | ` NEXT_PUBLIC_BASE_URL ` | Base URL of your installation | Yes | ` http://localhost:3000 ` |
152- | ` BETTER_AUTH_SECRET ` | Auth encryption secret | Yes | Random 32+ char string |
153- | ` BETTER_AUTH_TRUSTED_ORIGINS ` | Allowed callback origins | No | ` http://localhost:3000,http://localhost:3001 ` |
154- | ` GOOGLE_CLIENT_ID ` | Google OAuth client ID | For Google login | ` xxx.apps.googleusercontent.com ` |
155- | ` GOOGLE_CLIENT_SECRET ` | Google OAuth client secret | For Google login | ` xxx ` |
156- | ` DISCORD_CLIENT_ID ` | Discord OAuth client ID | For Discord login | ` xxx ` |
157- | ` DISCORD_CLIENT_SECRET ` | Discord OAuth client secret | For Discord login | ` xxx ` |
158- | ` GITHUB_CLIENT_ID ` | GitHub OAuth client ID | For GitHub login | ` xxx ` |
159- | ` GITHUB_CLIENT_SECRET ` | GitHub OAuth client secret | For GitHub login | ` xxx ` |
160- | ` OIDC_CLIENT_ID ` | Generic OIDC client ID | For OIDC login | ` xxx ` |
161- | ` OIDC_CLIENT_SECRET ` | Generic OIDC client secret | For OIDC login | ` xxx ` |
162- | ` OIDC_DISCOVERY_URL ` | OIDC discovery URL | For OIDC login | ` https://auth.example.com/.well-known/openid-configuration ` |
163- | ` TRELLO_APP_API_KEY ` | Trello app API key | For Trello import | ` xxx ` |
164- | ` TRELLO_APP_API_SECRET ` | Trello app API secret | For Trello import | ` xxx ` |
165- | ` S3_REGION ` | S3 storage region | For file uploads | ` WEUR ` |
166- | ` S3_ENDPOINT ` | S3 endpoint URL | For file uploads | ` https://xxx.r2.cloudflarestorage.com ` |
167- | ` S3_ACCESS_KEY_ID ` | S3 access key | For file uploads | ` xxx ` |
168- | ` S3_SECRET_ACCESS_KEY ` | S3 secret key | For file uploads | ` xxx ` |
169- | ` S3_FORCE_PATH_STYLE ` | Use path-style URLs for S3 | For file uploads | ` true ` |
170- | ` NEXT_PUBLIC_STORAGE_URL ` | Storage service URL | For file uploads | ` https://storage.kanbn.com ` |
171- | ` NEXT_PUBLIC_STORAGE_DOMAIN ` | Storage domain name | For file uploads | ` kanbn.com ` |
172- | ` NEXT_PUBLIC_AVATAR_BUCKET_NAME ` | S3 bucket name for avatars | For file uploads | ` avatars ` |
173- | ` NEXT_PUBLIC_ATTACHMENTS_BUCKET_NAME ` | S3 bucket name for attatchments | For file uploads | ` attatchments ` |
174- | ` NEXT_PUBLIC_ALLOW_CREDENTIALS ` | Allow email & password login | For authentication | ` true ` |
175- | ` NEXT_PUBLIC_DISABLE_SIGN_UP ` | Disable sign up | For authentication | ` false ` |
176- | ` NEXT_PUBLIC_WHITE_LABEL_HIDE_POWERED_BY ` | Hide “Powered by kan.bn” on public boards (self-host) | For white labelling | ` true ` |
141+ | Variable | Description | Required | Example |
142+ | ----------------------------------------- | --------------------------------------------------------- | ------------------------ | ----------------------------------------------------------- |
143+ | ` POSTGRES_URL ` | PostgreSQL connection URL | To use external database | ` postgres://user:pass@localhost:5432/db ` |
144+ | ` EMAIL_FROM ` | Sender email address
| For Email
| ` "Kan <[email protected] >" ` | 145+ | ` SMTP_HOST ` | SMTP server hostname | For Email | ` smtp.resend.com ` |
146+ | ` SMTP_PORT ` | SMTP server port | For Email | ` 465 ` |
147+ | ` SMTP_USER ` | SMTP username/email | No | ` resend ` |
148+ | ` SMTP_PASSWORD ` | SMTP password/token | No | ` re_xxxx ` |
149+ | ` SMTP_SECURE ` | Use secure SMTP connection (defaults to true if not set) | For Email | ` true ` |
150+ | ` SMTP_REJECT_UNAUTHORIZED ` | Reject invalid certificates (defaults to true if not set) | For Email | ` false ` |
151+ | ` NEXT_PUBLIC_DISABLE_EMAIL ` | To disable all email features | For Email | ` true ` |
152+ | ` NEXT_PUBLIC_BASE_URL ` | Base URL of your installation | Yes | ` http://localhost:3000 ` |
153+ | ` BETTER_AUTH_SECRET ` | Auth encryption secret | Yes | Random 32+ char string |
154+ | ` BETTER_AUTH_TRUSTED_ORIGINS ` | Allowed callback origins | No | ` http://localhost:3000,http://localhost:3001 ` |
155+ | ` GOOGLE_CLIENT_ID ` | Google OAuth client ID | For Google login | ` xxx.apps.googleusercontent.com ` |
156+ | ` GOOGLE_CLIENT_SECRET ` | Google OAuth client secret | For Google login | ` xxx ` |
157+ | ` DISCORD_CLIENT_ID ` | Discord OAuth client ID | For Discord login | ` xxx ` |
158+ | ` DISCORD_CLIENT_SECRET ` | Discord OAuth client secret | For Discord login | ` xxx ` |
159+ | ` GITHUB_CLIENT_ID ` | GitHub OAuth client ID | For GitHub login | ` xxx ` |
160+ | ` GITHUB_CLIENT_SECRET ` | GitHub OAuth client secret | For GitHub login | ` xxx ` |
161+ | ` OIDC_CLIENT_ID ` | Generic OIDC client ID | For OIDC login | ` xxx ` |
162+ | ` OIDC_CLIENT_SECRET ` | Generic OIDC client secret | For OIDC login | ` xxx ` |
163+ | ` OIDC_DISCOVERY_URL ` | OIDC discovery URL | For OIDC login | ` https://auth.example.com/.well-known/openid-configuration ` |
164+ | ` TRELLO_APP_API_KEY ` | Trello app API key | For Trello import | ` xxx ` |
165+ | ` TRELLO_APP_API_SECRET ` | Trello app API secret | For Trello import | ` xxx ` |
166+ | ` S3_REGION ` | S3 storage region | For file uploads | ` WEUR ` |
167+ | ` S3_ENDPOINT ` | S3 endpoint URL | For file uploads | ` https://xxx.r2.cloudflarestorage.com ` |
168+ | ` S3_ACCESS_KEY_ID ` | S3 access key | For file uploads | ` xxx ` |
169+ | ` S3_SECRET_ACCESS_KEY ` | S3 secret key | For file uploads | ` xxx ` |
170+ | ` S3_FORCE_PATH_STYLE ` | Use path-style URLs for S3 | For file uploads | ` true ` |
171+ | ` NEXT_PUBLIC_STORAGE_URL ` | Storage service URL | For file uploads | ` https://storage.kanbn.com ` |
172+ | ` NEXT_PUBLIC_STORAGE_DOMAIN ` | Storage domain name | For file uploads | ` kanbn.com ` |
173+ | ` NEXT_PUBLIC_AVATAR_BUCKET_NAME ` | S3 bucket name for avatars | For file uploads | ` avatars ` |
174+ | ` NEXT_PUBLIC_ATTACHMENTS_BUCKET_NAME ` | S3 bucket name for attachments | For file uploads | ` attachments ` |
175+ | ` NEXT_PUBLIC_ALLOW_CREDENTIALS ` | Allow email & password login | For authentication | ` true ` |
176+ | ` NEXT_PUBLIC_DISABLE_SIGN_UP ` | Disable sign up | For authentication | ` false ` |
177+ | ` NEXT_PUBLIC_WHITE_LABEL_HIDE_POWERED_BY ` | Hide “Powered by kan.bn” on public boards (self-host) | For white labelling | ` true ` |
177178
178179See ` .env.example ` for a complete list of supported environment variables.
179180
0 commit comments