AFFiNE

AFFiNE

Docker app from Findthelorax's Repository

Overview

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"

Runtime arguments

Web UI
http://[IP]:[PORT:3010]/
Network
bridge
Shell
sh
Privileged
false

Template configuration

WebUIPorttcp
Target
3010
AFFINE_ADMIN_EMAILVariable
AFFINE_ADMIN_PASSWORDVariable
AFFINE_SERVER_HOSTVariable
AFFINE_SERVER_PORTVariable
AFFINE_SERVER_HTTPSVariable
Default
false
Value
false
MAILER_HOSTVariable
MAILER_PORTVariable
MAILER_USERVariable
MAILER_PASSWORDVariable
MAILER_SENDERVariable
DATABASE_URLVariable
Value
postgres://affine:affine@postgres:5432/affine
REDIS_SERVER_HOSTVariable
Value
redis
REDIS_SERVER_PORTVariable
Value
6375
NODE_ENVVariable
Value
production
NODE_OPTIONSVariable
Value
--import=./scripts/register.js
configPathrw
Target
/root/.affine
Value
/mnt/user/appdata/affine
TELEMETRY_ENABLEVariable
Default
false
Value
false

Categories

Details

Repository
ghcr.io/toeverything/affine-graphql:stable
Last Updated2026-05-31
First Seen2024-08-09

Run AFFiNE on Unraid.

AFFiNE is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.