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"

Install AFFiNE on Unraid in a few clicks.

Find AFFiNE in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for AFFiNE Review the template variables and paths Click Install

Categories

Related apps

Explore more like this

Explore all

Details

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

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