Installing Coolify on Rockchip RK3399 Platform as a Home Server
- Date
- John Doe
Hardware Preparation
---Rockchip RK3399 Development Board: Ensure your development board is correctly configured and connected to the network.
---Power Adapter: Provide a stable power supply for the RK3399.
---Storage Device: At least one USB flash drive or SD card is required to install the operating system.
---Network Connection: Ensure the development board can connect to the internet via Ethernet or Wi-Fi.
Software Preparation
---Operating System: Choose a Linux distribution suitable for RK3399, such as Armbian or Ubuntu Server.
---Docker: Ensure Docker and Docker Compose are installed in the operating system.
Step-by-Step Guide
Install the Operating System
1.Download the Linux distribution image suitable for RK3399, such as Armbian or Ubuntu Server.
2.Use Etcher or another image writing tool to write the image to a USB flash drive or SD card.
3.Insert the storage device into the RK3399 development board, boot it, and follow the prompts to install the operating system.
Install Docker and Docker Compose
Open the terminal and run the following commands to install Docker:
bash
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh
1.Install Docker Compose:
bash
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
2.Download Coolify's Docker Compose File
Create a directory to store Coolify's configuration files, for example:
bash
mkdir ~/coolify && cd ~/coolify
3.Download Coolify's Docker Compose file:
bash
curl -o docker-compose.yml https://raw.githubusercontent.com/coollabsio/coolify/main/docker-compose.yml
4.Configure Environment Variables
---Create a .env file and add necessary environment variables:
bash
touch .env nano .env
5.Add the following content to the .env file:
env
COOLIFY_APP_ID=your-app-id COOLIFY_SECRET_KEY=your-secret-key COOLIFY_DATABASE_URL=sqlite:////data/coolify.db COOLIFY_HOST=http://your-server-ip:3000
6.Start Coolify
In the directory containing the docker-compose.yml and .env files, run the following command to start Coolify:
bash
docker-compose up -d
7.Access Coolify
Once started, you can access Coolify's web interface via a browser at http://your-server-ip:3000.