| Server | API_DOCS_ENABLED | Whether enable openapi document, access address is localhost/api/v1/doc.html | false |
| Server | MAX_HTTP_HEADER_SIZE | Max size of http request header | 32KB |
| Server | MAX_FILE_SIZE | Max upload size of http request | 1GB |
| Server | MAX_REQUEST_SIZE | Max size of http request | 1GB |
| Server | SESSION_NAMESPACE | Http cookies namespace key in cache | apitable |
| Server | SESSION_TIMEOUT | Http cookies survival time | 30d |
| Server | DEFAULT_LOCALE | Default server locale, support en-US/zh-CN | en-US |
| Server | SERVER_DOMAIN | Server access address for all services, usually the ip address deployed by gateway services (like nginx,openresty, et), eg. http(s)://apitable.com | http://127.0.0.1 |
| Server | ASSETS_LTD_URL | The url of assets storage server like minio/s3 et, eg. http(s)://xxx.com | http://127.0.0.1/assets |
| Server | ASSETS_LTD_BUCKET | Bucket name of assets storage. keep default value if not necessary | assets |
| Database | MYSQL_HOST | The host for the mysql database | 127.0.0.1 |
| Database | MYSQL_PORT | The port for the mysql database | 3306 |
| Database | MYSQL_DATABASE | The db schema for the mysql database | apitable |
| Database | MYSQL_USERNAME | The user name for the mysql database | apitable |
| Database | MYSQL_PASSWORD | The password for the mysql database | apitable@com |
| Redis Cache | REDIS_HOST | The host for redis cache | 127.0.0.1 |
| Redis Cache | REDIS_USERNAME | The username for redis cache | NULL |
| Redis Cache | REDIS_PASSWORD | The password for redis cache | NULL |
| Redis Cache | REDIS_PORT | The port for redis cache | 6379 |
| Redis Cache | REDIS_DB | The db index for redis cache | 0 |
| MQ | RABBITMQ_HOST | The host for rabbitmq server | 127.0.0.1 |
| MQ | RABBITMQ_PORT | The port for rabbitmq server | 5672 |
| MQ | RABBITMQ_USERNAME | The username for rabbitmq server | apitable |
| MQ | RABBITMQ_PASSWORD | The password for rabbitmq server | apitable@com |
| MQ | RABBITMQ_VHOST | The vhost path for rabbitmq server | / |
| Mail | EMAIL_PERSONAL | Email sign personal show in email | APITable |
| Mail | MAIL_HOST | The host for smtp server | NULL |
| Mail | MAIL_USERNAME | The username for smtp server, usually email address | NULL |
| Mail | MAIL_PASSWORD | The password for smtp server, usually email password | NULL |
| Mail | MAIL_PORT | The port for smtp server, 465 for production, 25 for development | 465 |
| Mail | MAIL_SSL_ENABLE | Whether mail ssl enable | true |
| Socket | SOCKET_URL | Connect to room server for collaborating working by this properties, set this value in cluster mode, eg. http://room-server | http://127.0.0.1 |
| Socket | SOCKET_RECONNECTION_ATTEMPTS | Set this value for attempting to reconnect socket times | 2 |
| Socket | SOCKET_RECONNECTION_DELAY | Time delay to attempt reconnect socket, unit is seconds | 1000 |
| Socket | SOCKET_TIMEOUT | Timeout to connect socket server, unit is seconds | 1000 |
| Storage | OSS_ENABLED | Whether to enable storage, usually opened for uploading attachment in datasheet | true |
| Storage | OSS_CLIENT_TYPE | Which client sdk type you want to use, aws s3 sdk is best, keep default value | aws |
| Storage | AWS_ACCESS_KEY | Access key of AWS S3 | NULL |
| Storage | AWS_ACCESS_SECRET | Access secret of AWS S3 | NULL |
| Storage | AWS_ENDPOINT | Endpoint of AWS S3 | NULL |
| Storage | AWS_REGION | Region of AWS S3 | NULL |
| Storage | QINIU_ACCESS_KEY | Access key of QINIU Cloud | NULL |
| Storage | QINIU_SECRET_KEY | Secret key of QINIU Cloud | NULL |
| Storage | QINIU_REGION | Region of QINIU Cloud | NULL |
| Storage | QINIU_DOWNLOAD_DOMAIN | Download domain of QINIU Cloud, optional | NULL |
| Storage | QINIU_UPLOAD_URL | Upload of QINIU Cloud, optional | NULL |
| Storage | QINIU_CALLBACK_URL | Callback url of QINIU Cloud, optional | NULL |
| Storage | QINIU_CALLBACK_BODY_TYPE | Callback body type of QINIU Cloud, optional | NULL |
| Storage | MINIO_ENDPOINT | Endpoint of MinIO | NULL |
| Storage | MINIO_ACCESS_KEY | Access key of MinIO | NULL |
| Storage | MINIO_SECRET_KEY | Secret key of MinIO | NULL |
| Report | SENTRY_DSN | Sentry organization DSN url, set this value to open sentry bug report | NULL |
| Report | ENV | Sentry env, it depend on your environment, eg. development/test/production | NULL |
| Connect | SOCKET_DOMAIN | The socket server address in cluster mode, eg. http://socket-server/socket | http://127.0.0.1/socket |
| Connect | NEST_GRPC_ADDRESS | The room server grpc service, eg. static://room-server | static://localhost |
| --- | --- | --- | --- |
| Auth | AUTH0_ENABLED | Whether enable auth0 connect, only for enterprise | false |
| Auth | AUTH0_CLIENT_ID | Auth0 tenant application client id, only for enterprise | NULL |
| Auth | AUTH0_CLIENT_SECRET | Auth0 tenant application client secret, only for enterprise | NULL |
| Auth | AUTH0_CLIENT_DOMAIN | Auth0 tenant client domain, only for enterprise | NULL |
| Auth | AUTH0_CLIENT_ISSUER_URI | Auth0 tenant client issuer url, only for enterprise | NULL |
| Auth | AUTH0_REDIRECT_URI | Auth0 tenant redirect uri, only for enterprise | NULL |
| Auth | AUTH0_DB_CONNECTION_ID | Auth0 tenant db connect id, only for enterprise | NULL |
| Auth | AUTH0_DB_CONNECTION_NAME | Auth0 tenant db connect name, only for enterprise | NULL |