memos

memos

memos部署

项目地址

https://github.com/usememos/memos

# 创建工作空间
mkdir -p /mnt/pve/local-data/docker/memos

# docker-compose 创建配置文件
cd /mnt/pve/local-data/docker/memos
nano docker-compose.yml

# docker-compose 配置文件内容
services:
  # memos
  memos:
    image: neosmemo/memos:stable
    container_name: memos
    hostname: memos
    networks:
      - local
    ports:
      - 5230:5230
    environment:
      - TZ=Asia/Shanghai
      - LANG=en_US.UTF-8
      - MEMOS_MODE=prod
      - MEMOS_PORT=5230
    volumes:
      - /mnt/pve/local-data/docker/memos/var/opt/memos:/var/opt/memos
    restart: always

networks:
  local:
    external: true

# docker network 创建网络已创建可忽略
docker network create local

# docker-compose 启动
cd /mnt/pve/local-data/docker/memos
docker-compose up -d

系统

禁用用户注册
true

存储

文件路径模板
assets/{filename}_{timestamp}

Access key id
minio默认账号

Access key secret
minio默认密码

Endpoint
minio上传获取文件接口地址

Region
cn-north-1

Bucket
memos

Use Path Style
true

单点登录

名称*
Custom

标识符过滤器(Identifier Filter)
NULL

客户端ID(Client ID)*
Client ID

客户端密钥(Client Secret)*
Client Secret

授权端点(Authorization Endpoint)*
https://authentik.5210125.xyz:12443/application/o/authorize/

令牌端点(Token Endpoint)*
https://authentik.5210125.xyz:12443/application/o/token/

用户端点(User Endpoint)*
https://authentik.5210125.xyz:12443/application/o/userinfo/

范围*
openid profile email

标识符(Identifier)*
preferred_username

显示名称
name

邮箱
email

Avatar URL
NULL

效果

许可协议: 本文使用《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》协议授权