Setup AFFiNE
This document shows how to self host AFFiNE
Today, I setup the AFFiNE and have a test, and find it still has less function than Notion.
Install Docker on Rocky Linux Server
# Update the system packages
sudo dnf update -y
# Install required packages
sudo dnf install -y yum-utils device-mapper-persistent-data lvm2
# Add the Docker CE repository
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# Install Docker CE
sudo dnf install -y docker-ce docker-ce-cli containerd.io
# Start and enable Docker Service
sudo systemctl start docker
sudo systemctl enable docker
# Add your user to the docker group
sudo usermod -aG docker $USER
Start AFFiNE
git clone https://github.com/toeverything/AFFiNE.git --branch stable
cd AFFiNE
AFFINE_ADMIN_EMAIL=affine@acme.sh AFFINE_ADMIN_PASSWORD="affine" docker compose -f ./.github/deployment/self-host/compose.yaml up -d
Login AFFiNE
Open the AFFiNE with http://localhost:3010