How to deploy AnQiCMS Docker installation tutorial through 1Panel/aaPanel/Baota panel?

Calendar 👁️ 157

As an experienced website operations expert, I am well aware of the importance of an efficient, secure, and easy-to-manage content system for enterprises.AnQiCMS (AnQiCMS) boasts a high-performance architecture based on the Go language, providing an excellent content management experience while also winning the favor of many users with its flexible deployment method.Today, let's delve deeply into how to use 1Panel, aaPanel (Baota International Edition), and Baota Panel, these popular server management tools, to quickly and stably deploy AnQiCMS through Docker containerization technology.

The advantage of Docker lies in its ability to provide an independent, portable runtime environment for applications, greatly simplifying the deployment process, avoiding complex dependency conflicts, and is particularly suitable for enterprise users pursuing efficiency and stability.


Preparation before deploying AnQiCMS

Before starting the deployment of AnQiCMS, no matter which panel you choose, there are several common basic tasks to be done:

  1. Prepare a server:Ensure that your server meets the basic hardware requirements and has installed your preferred Linux operating system (such as Ubuntu, CentOS, etc.).
  2. Domain resolution:Point the domain name you have prepared for the AnQiCMS site to the IP address of the server.
  3. Install the server management panel:Install 1Panel, aaPanel, or Baota panel in advance according to your choice.
  4. Install Docker environment:These three panels all provide a convenient installation entry for the Docker environment, please make sure to install Docker in advance.
  5. Database and reverse proxy:AnQiCMS needs database storage data (recommended MySQL) and a reverse proxy service (such as Nginx or OpenResty) to forward domain requests to the Docker port where AnQiCMS is running.These can also be quickly installed through the app store on the panel.

The AnQiCMS Docker image is unified asanqicms/anqicms:latestRunning by default inside the container,8001Port. The core idea of the next deployment steps is to start the AnQiCMS container and configure your domain to point to this through reverse proxy8001on the port.


Deploy AnQiCMS easily through 1Panel

1Panel, with its simple user interface and powerful feature integration, has become a new favorite of many system administrators.

First step: Install 1Panel and necessary componentsIf you have not installed 1Panel yet, please visit1panel.cnInstall according to the official instructions. After installation, log in to the 1Panel dashboard, find and install it in the App Store.OpenRestyAnd as a reverse proxy,MySQL(As a database service).

Second step: Create a Docker containerNow, let's create a Docker container for AnQiCMS.

  • Click the 'Container' menu on the left navigation bar and switch to the 'Container' tab.
  • Click the 'Create Container' button.
  • In the popped-up interface, fill in a container with anameFor exampleanqicms.
  • InMirrorIn the options, select 'Manual input' and then enter in the input boxanqicms/anqicms:latest.
  • The focus is onPort settings. Click 'Expose Port', enter the server port and container port both8001. If you plan to deploy multiple AnQiCMS instances on a single server, remember to select different server ports for subsequent instances (such as 8002, 8003), but keep the container port consistent.8001Unchanged.
  • Continue scrolling down, select 'Restart on failure' or 'Restart if not manually stopped' under 'Restart Policy' to ensure stable service operation.
  • After confirming that everything is correct, click "Confirm" to complete the container creation.

Step 3: Configure the reverse proxy siteAfter the container is created, we need to associate your domain with the AnQiCMS container.

  • Click on the "Website" menu in the left navigation bar and select the "Website" tab.
  • Click the "Create website" button and select the "Reverse Proxy" type.
  • InMain domainEnter your domain name, for exampletest.anqicms.com.
  • InProxy addressEnter127.0.0.1:8001. Here127.0.0.1point to the local server,8001Then is the server port exposed for the AnQiCMS container we mentioned above.If you have set different server ports for multiple AnQiCMS containers, you also need to fill it here.
  • Finally, click 'Confirm' to complete the creation of the site.

Deploy AnQiCMS on aaPanel/Baota International Edition.

aaPanel as the international version of Baota Panel has similarities in operational logic with Baota Panel, but its Docker App Store integration is more direct.

Step 1: Install aaPanel and Docker (if needed)If you have not installed aaPanel yet, please visitaapanel.comGet the installation script and execute it. After installation, log in to the aaPanel dashboard, find "App Store" in the left menu, search and install Docker.

Step 2: Install AnQiCMS through the app storeaaPanel provides a convenient one-click deployment method for AnQiCMS.

  • Search for "AnQiCMS" in the "App Store".
  • Click the "Install" button next to AnQiCMS in the search results.
  • In the installation configuration interface, fill in yourDomainfor exampleyourdomain.com),andPortis set to8001.
  • Click “Confirm” to start the installation. This process may take 1-5 minutes, please be patient.
  • If an error occurs during the one-click installation, it will usually prompt.You can try to troubleshoot according to the error message, or follow the "manual configuration of reverse proxy" method in the next section.

Step 3: Manually configure reverse proxy (optional, in case one-click installation fails)If the one-click installation fails to configure the reverse proxy as mentioned above, you can complete the following steps manually:

  • Select 'Website' from the left menu on the aaPanel dashboard.
  • Click “Add Site” to add a new website, select “Reverse Proxy” as the type.
  • Fill in yourDomain.
  • Enter in “Target URL”https://en.anqicms.com.
  • Click “Submit” to complete the configuration.

Deploy AnQiCMS using the Baota panel

The Baota panel has a wide user base in China, and its Docker management function is also powerful.Please note that the Docker deployment feature performs better in Baota panel version 9.2.0 and above.

Step 1: Install Baota panel and Docker version MySQLIf you have not installed Baota panel yet, please visitDownload from bt.cn/new/download.htmlDownload and install. After installation, log in to the panel.

  • Click on the "Docker" menu on the left, if you don't see it, go to "Panel Settings" -> "Panel Menu Hide" to turn on Docker display.
  • First time entering the Docker interface will prompt to install Docker, click "Install immediately".
  • Continue, search and install in Docker's 'App Store'MySQL(Recommended version 5.7, if the server memory is less than 2G, version 5.6 is optional).Be sure to check "Allow external access". *

Related articles

How to install and manage multiple sites on the same server with AnQiCMS?

## AnQiCMS: Easily manage multiple sites on the same server and implement your brand matrix management As an experienced website operations expert, I know that in today's digital age, many companies and content creators may have multiple brands, product lines, or regional sites. How to efficiently and economically manage these content platforms is often a headache.The traditional method may mean deploying a separate system for each site, which consumes a lot of server resources and operation and maintenance efforts.

2025-11-07

How to customize navigation categories and link types in AnQiCMS's navigation settings?

## AnQiCMS Navigation Settings: Customize Your Website's Structure and User Experience In today's digital age, a website's navigation system is more than just a tool to guide users through the site; it is the 'skeleton' of the website architecture, directly affecting user experience, information retrieval efficiency, and even search engine optimization (SEO) performance. As an enterprise-level content management system developed based on the Go programming language, AnQiCMS understands the importance of the navigation system and therefore provides a highly flexible and easy-to-customize navigation setting function, aimed at helping businesses and content operators easily build a clear

2025-11-07

How to configure the website name, address, logo, etc. in AnQiCMS's 'Global Settings'?

As an experienced website operations expert, I am well aware of the importance of a website's basic configuration, especially for a powerful and SEO-focused enterprise-level content management system like AnQiCMS (AnQiCMS), whose 'global settings' are self-evident.It is not just about filling in a few items of information, but also about laying the foundation for your website's brand image, ensuring smooth operation, and future expansion.Today, let's delve into how to elegantly and efficiently configure your website name, address, logo, and other core information in the 'Global Settings' of AnQiCMS.

2025-11-07

How to enable Markdown editor and display mathematical formulas and flowcharts in AnQiCMS?

As an experienced website operations expert, I know that content quality is the core of attracting and retaining users.In AnQiCMS such an efficient and flexible content management system, making full use of its various functions to enrich content expression is crucial for enhancing the professionalism and user experience of the website.Today, let's delve into a very practical advanced topic: how to enable the Markdown editor in AnQiCMS and make your mathematical formulas and flow charts beautifully displayed on the web.AnQiCMS as a corporate-level content management system based on the Go language

2025-11-07

How to use `if` and `for` tags for logical judgment and loop traversal in AnQiCMS templates?

As an experienced website operations expert, I am well aware of the importance of a flexible and powerful template system for content management.AnQiCMS leverages its high-performance architecture based on the Go language and support for Django template engine syntax, providing us with great convenience.It is not just a tool for publishing content, but also a powerful tool for us to achieve personalized content display and improve user experience.

2025-11-07

How to format timestamps with the `stampToDate` tag in AnQiCMS template?

As an experienced website operations expert, I know that in daily content management, timestamp formatting is a seemingly simple detail that often troubles many operations personnel.In AnQiCMS such an efficient and flexible content management system, mastering the use of template tags can greatly enhance the professionalism and user experience of content presentation.Today, let's delve into a very practical and key tag in the AnQiCMS template - `stampToDate`, and see how it helps us easily format timestamps.

2025-11-07

How to call the detailed information of a specific page in Anqi CMS template?

AnQi CMS, as an efficient and flexible content management system, has provided strong support for us in the field of content operation.In daily website management, single-page (also known as independent page) plays an indispensable role, whether it is to showcase corporate culture in "About Us", provide a communication bridge in "Contact Us", or introduce various service pages, they are all important windows for users to obtain core information.

2025-11-07

What is the basic syntax and necessary parameters of the `pageDetail` tag?

As an experienced website operations expert, I know that proficiently using template tags in a high-efficiency content management system like AnQiCMS is the key to improving operational efficiency and achieving personalized content display.Today, let's delve into a very practical tag - `pageDetail`, which can help us easily obtain and display the content of independent pages on websites.

2025-11-07