系统部署 一、docker-compose.yaml代码 🔻新建一个文件夹,可以用项目为名字。在文件夹下新建一个docker-compose.yaml文件,将下面代码复制进去。 services: affine: #镜像标签选择stable为稳定版,选择canary为最新发布版本 image: ghcr.io/toeverything/affine-graphql:stable # image: ghcr.io/toeverything/affine...
这条命令会根据docker-compose.yml文件启动Affine服务以及它所依赖的PostgreSQL和Redis服务。 5. 测试Affine在本地服务器的运行 启动服务后,你可以在浏览器中访问http://localhost:3010来测试Affine是否正常运行。如果一切正常,你应该能看到Affine的登录页面。 其他注意事项 如果在启动服务时遇到网络问题,确保你的网络设置...
在Docker中搜索并下载镜像redis:latest。 部署容器 设置目录映射。 …docker/affine/data/redis:/data 网络选择bridge、端口环境均选择默认。 点击应用,部署成功。 部署postgres 在Docker中搜索并下载镜像postgres:latest。 部署容器 设置目录映射。 .../docker/affine/data/postgres:/var/lib/postgresql/data 端口默认54...
检查docker compose 版本 root@flexusx-c6b3:~# docker compose versionDocker Compose version v2.29.2 三、Flexus 云服务器 X 实例部署 AFFiNE 3.1 AFFiNE 介绍 AFFiNE 是一个开源的一体化工作区和操作系统,适用于构建知识库的所有构建块以及更多内容— wiki、知识管理、演示和数字资产。它是 Notion 和 Miro 的...
二、检查本地docker状态 代码语言:txt AI代码解释 [root@node ~]# systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2022-11-06 06:02:26 CST...
检查docker compose 版本 root@flexusx-c6b3:~# docker compose versionDocker Compose version v2.29.2 三、Flexus 云服务器 X 实例部署 AFFiNE 3.1 AFFiNE 介绍 AFFiNE 是一个开源的一体化工作区和操作系统,适用于构建知识库的所有构建块以及更多内容— wiki、知识管理、演示和数字资产。它是 Notion 和 Miro 的...
将下面代码保存到docker-compose.yaml文件中,并放到affine目录里 services: affine: image: ghcr.io/toeverything/affine-graphql:stable container_name: affine_selfhosted command: ['sh', '-c', 'node ./scripts/self-host-predeploy && node ./dist/index.js'] ...
Affine with Let's Encrypt Using Docker Compose The badge displayed on my repository indicates the status of the deployment verification workflow as executed on the latest commit to the main branch. Passing: This means the most recent commit has successfully passed all deployment checks, confirming ...
其官网对该笔记的docker compose部署方式进行了比较详细的介绍,但是对于其他不支持docker compose的Nas来说还是比较棘手的。因此将个人极空间部署过程予以记录。 部署redis 在Docker中搜索并下载镜像redis:latest。 部署容器 设置目录映射。 …docker/affine/data/redis:/data 网络选择bridge、端口环境均选择默认。 点击应用...
准备compose.yaml services: affine: image: ghcr.io/toeverything/affine-graphql:stable container_name: affine_selfhosted command: ['sh', '-c', 'node ./scripts/self-host-predeploy && node ./dist/index.js'] ports: - '3000:3010' # WEB访问端口 ...