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_pg
ports:
- "8000:80"
privileged: true
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.
DATABASE_HOST: asktable_pg # PostgreSQL database address (this database is the AskTable system database, not the database that AskTable queries, the latter needs to be added on the AskTable interface)
DATABASE_PORT: 5432 # PostgreSQL database port
DATABASE_USER: asktable # PostgreSQL database username
DATABASE_PASSWORD: asktable # 【Recommended to modify】PostgreSQL database password
DATABASE_DB: asktable # PostgreSQL database name
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_pg:
image: registry.cn-shanghai.aliyuncs.com/dminfra/postgres:17.6
container_name: asktable_pg
restart: unless-stopped
ports:
- "5432"
environment:
TZ: Asia/Shanghai
POSTGRES_USER: asktable # 【Recommended to modify】
POSTGRES_PASSWORD: asktable # 【Recommended to modify】
POSTGRES_DB: asktable
volumes:
- ./postgres_data:/var/lib/postgresql/data
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.
