目录
程序简介
flatnotes 是一个自托管的、无数据库的笔记 Web 应用程序,它利用文件夹存储 Markdown 文件。
相关网址
Github: https://github.com/Dullage/flatnotes
项目演示:https://demo.flatnotes.io/
配置文档:https://github.com/Dullage/flatnotes/wiki/Environment-Variables
安装教程
Docker安装
docker run -d \
-e "FLATNOTES_AUTH_TYPE=password" \
-e "FLATNOTES_USERNAME=user" \
-e "FLATNOTES_PASSWORD=changeMe" \
-e "FLATNOTES_SECRET_KEY=aLongRandomSeriesOfCharacters" \
-v "$(pwd)/data:/app/data" \
-p "80:80" \
dullage/flatnotes:latest
Docker Compose 安装
version: "3"
services:
flatnotes:
container_name: flatnotes
image: dullage/flatnotes:latest
environment:
FLATNOTES_AUTH_TYPE: "password"
FLATNOTES_USERNAME: "user"
FLATNOTES_PASSWORD: "changeMe!"
FLATNOTES_SECRET_KEY: "aLongRandomSeriesOfCharacters"
volumes:
- "./data:/app/data"
# - "./index:/app/data/.flatnotes"
# Optional. Allows you to save the search index in a different location.
ports:
- "80:80"
restart: unless-stopped