cnAPIcnAPI

Installation Guide

Installation Guide

Deployment Methods

<div class="grid cards" markdown>

  • :material-docker:{ .twemoji }

    Docker Compose Deployment ⭐Recommended


    The recommended method for single-machine deployment, providing complete configuration:

    View Tutorial →

  • :material-docker:{ .twemoji }

    Docker Deployment


    A simple and fast method for single-machine deployment:

    View Tutorial →

  • :material-server:{ .twemoji }

    1Panel Panel Deployment


    Use the 1Panel panel for visual deployment:

    View Tutorial →

  • :material-server:{ .twemoji }

    BaoTa Panel Deployment


    Use the BaoTa panel for visual deployment:

    View Tutorial →

  • :material-server-network:{ .twemoji }

    Cluster Deployment


    The best choice for large-scale deployment:

    View Tutorial →

  • :material-code-braces:{ .twemoji }

    Local Development Deployment


    Suitable for developers and contributors:

    View Tutorial →

</div>

Configuration and Maintenance

<div class="grid cards" markdown>

  • :material-update:{ .twemoji }

    System Update


    Learn how to update to the latest version:

    View Instructions →

  • :material-variable:{ .twemoji }

    Environment Variables


    Descriptions of all configurable environment variables:

    View Documentation →

  • :material-file-cog:{ .twemoji }

    Configuration File


    Detailed explanation of the Docker Compose configuration file:

    View Instructions →

</div>

Deployment Notes

[!TIP] Selection Advice

  • Docker Compose deployment is recommended, offering better configuration management and service orchestration
  • Docker deployment can be used for quick testing, but is not recommended for production environments
  • Users familiar with the BaoTa Panel can choose BaoTa Panel deployment
  • Enterprise users are advised to use cluster deployment for better scalability

[!WARNING] Precautions Before deployment, please ensure:

  1. Required basic software has been installed
  2. Basic Linux and Docker commands are understood
  3. Server configuration meets minimum requirements
  4. Necessary API keys have been prepared

[!INFO] Getting Help If you encounter issues during the deployment process:

  1. Check the Frequently Asked Questions
  2. Submit an issue on GitHub
  3. Join the QQ Communication Group for assistance

How is this guide?