deploy AppFlowy Cloud entirely on local machine
创始人
2026-03-14
0

In this guide, we will deploy AppFlowy Cloud entirely on local machine. This deployment will not be accessible outside of the machine, and no collaboration is possible. However, it does allow a self hoster to quickly explore the editing functions offered by AppFlowy.

Prerequisite

Docker compose and Git are installed on your local machine.

Familiarity with command line.

AppFlowy desktop application is already installed.

Setting up the web services

Clone the AppFlowy Cloud repository.


git clone https://github.com/AppFlowy-IO/AppFlowy-Cloud.git


From the root of the directory, copy deploy.env to .env.


cp deploy.env .env


(Optional) If port 80 or 443 are already occupied by another service, such as Nginx, then modify the port binding via the following env variables.


NGINX_PORT=80NGINX_TLS_PORT=443


Run the services via docker compose, in the background.


docker compose up -d


Check if all services are running and healthy.


docker compose ps


For subsequent sections, we will assume that port 80 is used for the deployment. If you have changed the port in earlier steps, please change the port accordingly.

Setting up the desktop client

By default, the desktop application will connect to the official server. You can change the server endpoint via the settings, which can be found at the bottom of the login page.

Update the base URL to localhost:80. You may ignore the web URL for the time being.

AppFlowy-1

There are multiple ways to log in to AppFlowy. We will start with password login, which work out of the box with the default configuration.

Close the application.

Log in via username and password

Currently, AppFlowy clients do not support password based login directly. However, it is still possible to login via username and password through the admin portal.

The admin portal is available on localhost:80/console. When setup correctly, you should land on a page similar to below:

AppFlowy-2

The credentials are set via the following variables:


GOTRUE_ADMIN_EMAIL=admin@example.comGOTRUE_ADMIN_PASSWORD=password


Do remember to change the default credentials if you plan to expose this deployment online. After changing the variables, the changes will take effect after you restart the services via docker compose.

Important: you should change the admin credentials only via the .env variable, and not via the admin console.

Navigate to the admin page. The admin page is accessible via the top right button in the home page:

AppFlowy-3

Create a new user. The email doesn't need to actually exist, unless you plan to login using Identity Provider or magic link in the future.

AppFlowy-4

For the purpose of this demo, we will create two users, user1@example.com and user2@example.com .

Logout from the admin console, then log in using the credentials for user1@example.com.

Click on Open AppFlowy to launch the desktop application.

Inviting user to a workspace

If you have setup SMTP, you can invite a new member to your workspace directly from the workspace setting page, in the application:

AppFlowy-5

Since we have not setup SMTP yet, for this guide, we will use the admin console to manage workspace member instead.

Login to the admin console using user1's credential.

On the left panel, click on Invite , then invite user2 to the workspace.

AppFlowy-6

Logout from the desktop application, so that we can login as user2 later. Close the application.

Login to the admin console using user2's credential. You should see something similar to the image below, for the invite page:

AppFlowy-7

Accept the invitation, then launch AppFlowy. user2 should now be a member of user1's workspace.

Shutting down service

The services can be stopped by running


docker compose down


Removing all data

If, at any point in time, you would like to erase all the data and start the setup from scratch again, run


docker compose down -v



【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

相关内容

热门资讯

windows10上本地部署o... 在 Windows 10 上部署 OpenClaw 的过程已经在 2026 年进一步简化,官方和社区...
openclaw部署到本地wi... 在 Windows 10 个人电脑上部署 OpenClaw(2026 版)通常有两种路径:原生 Wi...
Cursor、Dify、n8... 对 Cursor、Dify、n8n 三个工具在核心定位、功能特性、定价模型、适用场景等多个维度进行了...
Windows系统下卸载Ope... 以下是Windows系统下卸载OpenClaw的完整步骤: 卸载步骤 1. 停止 Gat...
思源笔记和AppFlowy多维... 思源笔记(Siyuan Note)和 AppFlowy 都是备受关注的开源(或近似开源)笔记/知识库...
openclaw官方版本安装后... 在成功安装 OpenClaw 官方版本后,添加飞书 Bot 通常需要经过 插件安装 与 飞书端配置 ...
Ollama本地安装硬件需求 根据当前的技术情况(截至 2026 年),在本地安装 Ollama 并运行大语言模型(LLM)的硬件...
如何卸载使用openclaw官... 请根据您当前使用的操作系统(Windows/macOS/Linux)选择对应的步骤。📦 Window...
deploy AppFlowy... In this guide, we will deploy AppFlowy Cloud entir...
OpenClaw vs Cla... OpenClaw vs Claude Cowork:桌面AI Agent对决,谁才是下一代“操作系统...