description |
---|
All configurable environment variables |
Variable Name | Description | Default Value |
---|---|---|
NEXT_ENV_IMAGES_ALL_REMOTE | Set to false to allow attachment preview, or modify apps/nextjs-app/next.config.js and rebuild the Dockerfile to specify a secure domain. |
false |
Variable Name | Description | Default Value |
---|---|---|
PUBLIC_ORIGIN | Required to enable attachment upload, email notification etc. |
|
PUBLIC_DATABASE_PROXY | Required to enable the database connection feature in Base. |
|
API_DOC_DISENABLED | Whether to disable API documentation | false |
BACKEND_MAIL_HOST | Fill in the following when needing to send emails |
|
BACKEND_MAIL_PORT | Email service PORT | 465 |
PRISMA_DATABASE_URL | Database URL | |
BACKEND_MAIL_SECURE | Use TLS/STARTTLS to securely send emails | true |
BACKEND_MAIL_SENDER | Sender's address | |
BACKEND_MAIL_SENDER_NAME | Sender's name | |
BACKEND_MAIL_AUTH_USER | Email service account | |
BACKEND_CACHE_PROVIDER | Cache storage mode: |
sqlite |
BACKEND_MAIL_AUTH_PASS | Email service password |
|
BACKEND_CACHE_REDIS_URI | Required for redis, redis connection address: |
|
BACKEND_CACHE_SQLITE_URI | Required for sqlite, sqlite connection address | sqlite://.assets/.cache.db |
BACKEND_STORAGE_PROVIDER | Object storage mode: |
local |
BACKEND_STORAGE_PUBLIC_BUCKET | Public resource bucket name | public |
BACKEND_STORAGE_PRIVATE_BUCKET | Private resource bucket name | private |
BACKEND_STORAGE_LOCAL_PATH | Required for local mode, | .assets/uploads |
BACKEND_STORAGE_MINIO_ENDPOINT | Required for mino mode, minio service domain | |
BACKEND_STORAGE_MINIO_PORT | Required for mino mode, minio service port | 9000 |
BACKEND_STORAGE_MINIO_USE_SSL | Required for mino mode, use https? | false |
BACKEND_STORAGE_MINIO_ACCESS_KEY | Required for mino mode, minio username | |
BACKEND_STORAGE_MINIO_SECRET_KEY | Required for mino mode, minio password | |
STORAGE_PREFIX | Preview resource prefix address |