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
- asktable_redis
- asktable_vdb
- asktable_atbox
- asktable_aisearch
ports:
- "8000:80"
privileged: true
environment:
TZ: Asia/Shanghai
#BASE_PATH: # 【Optional】Base access path (URL prefix), e.g. "/asktable", for reverse proxy or sub-path deployment
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
REDIS_URL: redis://asktable_redis:6379
AISEARCH_ENABLE: 1
AISEARCH_HOST: http://asktable_aisearch:7700
AISEARCH_MASTER_KEY: asktable # 【Recommended to modify】
ATBOX_URL: http://asktable_atbox:5300
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
asktable_redis:
image: registry.cn-shanghai.aliyuncs.com/dminfra/redis:7.4.4
container_name: asktable_redis
restart: unless-stopped
command: redis-server --appendonly yes
volumes:
- ./redis_data:/data
asktable_atbox:
image: registry.cn-shanghai.aliyuncs.com/datamini/asktable-atbox:latest # For mainland China
# image: datamini/asktable-atbox:latest # Other regions
container_name: asktable_atbox
restart: unless-stopped
environment:
TZ: Asia/Shanghai
# 【Optional】Feishu Gateway Service - Not Required for Basic Deployment
# Uncomment this section only if you need Feishu integration features (e.g., Feishu group bots, Feishu IM access)
# If you only use basic features like conversations and data dashboards, you can skip this section
# asktable_feishu_gateway:
# image: registry.cn-shanghai.aliyuncs.com/datamini/asktable-feishu-gateway:latest # For mainland China
# # image: datamini/asktable-feishu-gateway:latest # Other regions
# container_name: asktable_feishu_gateway
# restart: unless-stopped
# depends_on:
# - asktable_redis
# environment:
# TZ: Asia/Shanghai
# REDIS_URL: redis://asktable_redis:6379
- 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.
