Deploy with aaPanel
Prerequisites
Before installing Dify, make sure your machine meets the following minimum system requirements:
CPU >= 2 Core
RAM >= 4 GiB
Linux platforms
aaPanel 7.0.11 or later
Please refer to the aaPanel installation guide for more information on how to install aaPanel.
Deployment
- Log in to aaPanel and click - Dockerin the menu bar
- The first time you will be prompted to install the - Dockerand- Docker Composeservices, click Install Now. If it is already installed, please ignore it.
- After the installation is complete, find - Difyin- One-Click Installand click- install
- configure basic information such as the domain name, ports to complete the installation 
[!IMPORTANT]
The domain name is optional, if the domain name is filled, it can be managed through [Website]--> [Proxy Project], and you do not need to check [Allow external access] after filling in the domain name, otherwise you need to check it before you can access it through the port
- After installation, enter the domain name or IP+ port set in the previous step in the browser to access. 
- Name: application name, default - Dify-characters
- Version selection: default - latest
- Domain name: If you need to access directly through the domain name, please configure the domain name here and resolve the domain name to the server 
- Allow external access: If you need direct access through - IP+Port, please check. If you have set up a domain name, please do not check here.
- Port: Default - 8088, can be modified by yourself
- After submission, the panel will automatically initialize the application, which will take about - 1-3minutes. It can be accessed after the initialization is completed.
Access Dify
Access administrator initialization page to set up the admin account:
# If you have set domain
http://yourdomain/install
# If you choose to access through `IP+Port`
http://your_server_ip:8088/installDify web interface address:
# If you have set domain
http://yourdomain/
# If you choose to access through `IP+Port`
http://your_server_ip:8088/Last updated
