AFFiNE
Docker 应用程序 from Findthelorax's Repository
概述
Hello/Bonjour/Aloha/你好
Welcome.
AFFiNE is an open-source, all-in-one workspace and an operating system for all the building blocks that assemble your knowledge base and much more — wiki, knowledge management, presentation and digital assets. It’s a better alternative to Notion and Miro.
To Shape, not to adapt. Tools can impact your lifestyle. AFFiNE is built for individual & teams who care their data, who refuse vendor lock-in, and who want to have control over their essential tools. More on What AFFiNE is Not
You own your data, with no compromises
READ ME: Currently it seems like there is an issue with database migration with this template. There is a docker-compose that also works:
https://github.com/toeverything/AFFiNE/blob/stable/.github/deployment/self-host/compose.yaml
To get this running, you will need postgresql and redis. After those are working, download AFFiNE. It should stop with an error about
PrismaClientInitializationError:
Invalid `prisma.runtimeConfig.findMany()` invocation:
Run the below command adjusting the database url as necessary then you should be able to access the WebUI.
docker run -e DATABASE_URL=postgres://affine:affine@postgres:5432/affine ghcr.io/toeverything/affine-graphql:stable sh -c "yarn prisma migrate deploy && node --import ./scripts/register.js ./dist/data/index.js"
运行时参数
- 网络用户界面
http://[IP]:[PORT:3010]/- 网络
bridge- 外壳
sh- 特权
- false
模板配置
WebUIPorttcp
- 目标
- 3010
AFFINE_ADMIN_EMAILVariable
AFFINE_ADMIN_PASSWORDVariable
AFFINE_SERVER_HOSTVariable
AFFINE_SERVER_PORTVariable
AFFINE_SERVER_HTTPSVariable
- 默认值
- false
- 价值
- false
MAILER_HOSTVariable
MAILER_PORTVariable
MAILER_USERVariable
MAILER_PASSWORDVariable
MAILER_SENDERVariable
DATABASE_URLVariable
- 价值
- postgres://affine:affine@postgres:5432/affine
REDIS_SERVER_HOSTVariable
- 价值
- redis
REDIS_SERVER_PORTVariable
- 价值
- 6375
NODE_ENVVariable
- 价值
- production
NODE_OPTIONSVariable
- 价值
- --import=./scripts/register.js
configPathrw
- 目标
- /root/.affine
- 价值
- /mnt/user/appdata/affine
TELEMETRY_ENABLEVariable
- 默认值
- false
- 价值
- false
详细信息
存储库
ghcr.io/toeverything/affine-graphql:stable最后更新2026-05-31
初见2024-08-09
在Unraid 上运行 AFFiNE 。
AFFiNE 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。