Skip to main content

WeDa Private Deployment Docker Deployment Guide

This document will guide you through deploying WeDa low-code development platform on Linux servers using Docker for fast and stable standalone deployment.

Deployment Overview

WeDa private deployment supports Docker-based containerized deployment, suitable for standalone quick deployment scenarios.

System Requirements

Prerequisites
  • Operating System: Linux system (supports x86 and aarch64 architectures)
  • Server Configuration: Please refer to Resource Preparation Requirements
  • Permission Requirements: Root privileges required for deployment operations
  • Network Requirements: Ensure server can access external network to download installation packages

Deployment Steps

Step 1: Prepare Deployment Environment

  1. Obtain Root Privileges

    sudo su
  2. Download Installation Script

    wget -L -O install.sh https://software-1302110647.cos.ap-guangzhou.myqcloud.com/rc/lastest/install.sh && chmod +x install.sh
  3. Start Installer

    ./install.sh
Installer Description
  • Default Port: 38080
  • Supported Architectures: Linux x86 and aarch64
  • Access Address: http://<Server IP>:38080

Port Configuration Requirements

Port Check

Before deployment, ensure the following ports are not occupied and have open access permissions:

  • 80: WeDa platform default access port
  • 38080: Installer default port (customizable)

For custom port configuration, please refer to: Port and Whitelist IP Configuration

Step 2: Execute Installation Configuration

  1. Access Installer Interface

    Enter in browser: http://<Server IP>:38080 to open the installer page

  2. Configure License Information

    • Click the [Start Installation] button
    • Fill in the obtained License
    • Optional: Configure custom access address
  3. Start Installation Deployment

    • Click [Start Installation]
    • Wait 3-5 minutes for installation completion
    • After installation, click [Access Platform Now]
  4. Access Development Platform

    After installation completion, access via:

Deployment Results Description

Directory Structure Description

Installation Directory Information

Default Installation Directory: /data/tencent/weda

After installation completion, the following important directories will be generated in the installation directory:

Directory NamePurposeNotes
configs/Store all configuration files required for service operationCan modify configurations as needed
storage/Store MinIO and MySQL dataDo not delete, contains important data
logs/Store log information for all servicesUsed for troubleshooting and monitoring
.envEnvironment variable configuration fileView with cat .env

View Environment Variables

# Switch to installation directory
cd /data/tencent/weda

# View environment variable configuration
cat .env

For detailed environment variable descriptions, please refer to: Environment Variable Configuration Guide

Advanced Configuration

Custom Configuration Options

For advanced configuration, please refer to the following documentation:

Production Environment Recommendations

Production Environment Best Practices

To ensure high availability and stability in production environments, it is strongly recommended to:

  1. Use External Database: Configure independent MySQL database service
  2. Use External Object Storage: Configure S3-compatible object storage service
  3. Regular Data Backup: Backup important data in the storage/ directory
  4. Monitor System Status: Regularly check service logs and system resource usage

Troubleshooting

If you encounter problems during deployment, please refer to:

  • FAQ: FAQ Documentation
  • Log Viewing: Check relevant log files in the logs/ directory
  • Port Check: Confirm that required ports are correctly opened

Summary

Through the above steps, you have successfully completed the Docker deployment of WeDa private deployment:

  1. ✅ Prepared deployment environment and necessary permissions
  2. ✅ Downloaded and executed installation script
  3. ✅ Completed License configuration and platform installation
  4. ✅ Understood post-deployment directory structure and configuration options
  5. ✅ Mastered advanced configuration and production environment recommendations

Now you can start using the WeDa low-code development platform for application development.