Deploy Enterprise Edition
1. Deployment and Startup
Network and Hardware Configuration Requirements
Please refer to Private Deployment Network and Hardware Configuration Requirements.
Deployment Steps
- Follow the deployment steps in Single Machine Deployment, but modify the
docker-compose.ymlfile inside, and update it with the following content:
services:
asktable:
# AskTable
image: registry.cn-shanghai.aliyuncs.com/datamini/asktable-all-in-one:latest # For mainland China
container_name: asktable
depends_on:
- asktable_mysql
ports:
- "8000:80"
environment:
TZ: Asia/Shanghai
BASE_URL: http://127.0.0.1:8000 # 【Must Modify】The address exposed by the container (i.e., the address to access from outside, such as a browser)
LLM_API_KEY: asktable-xxxxxx=xxxxxxxx # 【Must Modify】AI model token, which is a string starting with "asktable-". After logging into AskTable(https://cloud.asktable.com), click on "Private Deployment AskTable" at the top to obtain it.
MYSQL_HOST: asktable_mysql # MySQL database address (this MySQL is the AskTable database, not the database that AskTable queries, the latter needs to be added on the AskTable interface)
MYSQL_USER: asktable # MySQL database username
MYSQL_PASSWORD: asktable # 【Recommended to modify】MySQL database password
MYSQL_DB: asktable # MySQL database name
MYSQL_ROOT_PASSWORD: asktable # 【Recommended to modify】MySQL database root password (used for initializing sample data)
VDB_ADDRESS: http://asktable_vdb:6333 # Vector database address
VDB_API_KEY: asktable #【Recommended to modify】Vector database API KEY
AISEARCH_ENABLE: 1
AISEARCH_HOST: http://asktable_aisearch:7700
AISEARCH_MASTER_KEY: asktable # 【Recommended to modify】
volumes:
- ./asktable_data:/asktable
asktable_mysql:
image: registry.cn-shanghai.aliyuncs.com/dminfra/mysql:8.0.27
container_name: asktable_mysql
ports:
- "3306"
environment:
TZ: Asia/Shanghai
MYSQL_ROOT_PASSWORD: asktable # 【Recommended to modify】
MYSQL_DATABASE: asktable
MYSQL_USER: asktable
MYSQL_PASSWORD: asktable # 【Recommended to modify】
volumes:
- ./mysql_data:/var/lib/mysql
asktable_vdb:
image: registry.cn-shanghai.aliyuncs.com/dminfra/qdrant:v1.11.5
container_name: asktable_vdb
ports:
- "6333"
- "6334"
environment:
RUN_MODE: production
TZ: Asia/Shanghai
QDRANT__SERVICE__API_KEY: asktable # 【Recommended to modify】
volumes:
- ./qdrant_storage:/qdrant/storage
- ./qdrant_snapshots:/qdrant/snapshots
asktable_aisearch:
image: registry.cn-shanghai.aliyuncs.com/dminfra/aisearch:v1.12.8
container_name: asktable_aisearch
privileged: true
restart: always
ports:
- "7700"
environment:
TZ: Asia/Shanghai
MEILI_MASTER_KEY: asktable # 【Recommended to modify】
volumes:
- ./aisearch_data:/meili_data
- For other steps, please refer to Single Machine Deployment.
2. Contact AskTable to Obtain Software License
After deployment, contact AskTable staff to obtain the software license, or directly log in to "AskTable Official Website" and click on "Private Deployment" at the bottom left to purchase.
3. Activate License
- Log in to the private deployment of AskTable, click on "Trial Version" at the bottom left, and enter the "Activate License" page.

- Enter the software license and click the "Activate" button.
