AFFiNE
Docker-Anwendung from Findthelorax's Repository
Übersicht
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"
Laufzeit-Argumente
- Web-UI
http://[IP]:[PORT:3010]/- Netzwerk
bridge- Shell
sh- Privilegiert
- false
Konfiguration der Vorlage
WebUIPorttcp
- Ziel
- 3010
AFFINE_ADMIN_EMAILVariable
AFFINE_ADMIN_PASSWORDVariable
AFFINE_SERVER_HOSTVariable
AFFINE_SERVER_PORTVariable
AFFINE_SERVER_HTTPSVariable
- Standard
- false
- Wert
- false
MAILER_HOSTVariable
MAILER_PORTVariable
MAILER_USERVariable
MAILER_PASSWORDVariable
MAILER_SENDERVariable
DATABASE_URLVariable
- Wert
- postgres://affine:affine@postgres:5432/affine
REDIS_SERVER_HOSTVariable
- Wert
- redis
REDIS_SERVER_PORTVariable
- Wert
- 6375
NODE_ENVVariable
- Wert
- production
NODE_OPTIONSVariable
- Wert
- --import=./scripts/register.js
configPathrw
- Ziel
- /root/.affine
- Wert
- /mnt/user/appdata/affine
TELEMETRY_ENABLEVariable
- Standard
- false
- Wert
- false
Kategorien
Einzelheiten
Repository
ghcr.io/toeverything/affine-graphql:stableRegistry
Zuletzt aktualisiert2026-05-31
Erstmals gesehen2024-08-09
Führen Sie AFFiNE auf Unraid aus.
AFFiNE ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.