Self-host flatnotes with Docker
A database-less note-taking app that keeps notes as plain Markdown files.
This page describes the Levelrail template for flatnotes (Productivity). It deploys the services below as one Docker Compose app on your own server.
Project site: https://github.com/dullage/flatnotes/wiki.Recommended memory: about 128 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
flatnotes | dullage/flatnotes:v5.5.5 | 8080 | flatnotes_data -> /data |
Environment variables
| Service | Variable | Value |
|---|---|---|
flatnotes | FLATNOTES_AUTH_TYPE | Preset in the template |
flatnotes | FLATNOTES_PASSWORD | Generated at deploy |
flatnotes | FLATNOTES_SECRET_KEY | Generated at deploy |
flatnotes | FLATNOTES_USERNAME | Preset in the template |
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Deploy flatnotes with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select flatnotes. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy flatnotes --name my-flatnotesSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Productivity templates
All templates are listed in the self-host gallery.