侧边栏壁纸
博主头像
简单博客

行动起来,活在当下

  • 累计撰写 86 篇文章
  • 累计创建 24 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

笔记软件 trilium-translation

简单
2025-07-23 / 0 评论 / 0 点赞 / 3 阅读 / 0 字

官方网站

https://github.com/Nriver/trilium-translation

docker-compose.yml

https://github.com/Nriver/trilium-translation/blob/main/docker-compose.yml

version: '3'
services:
  trilium-cn:
    image: nriver/trilium-cn
    restart: always
    ports:
      - "8080:8080"
    volumes:
      # 把同文件夹下的 trilium-data 目录映射到容器内
      - ./trilium-data:/root/trilium-data
    environment:
      # 环境变量表示容器内笔记数据的存储路径
      - TRILIUM_DATA_DIR=/root/trilium-data
    # 可选功能: 健康检查。需要启用的话,把下面的注释去掉
    #healthcheck:
    #  test: ["CMD-SHELL", "curl --fail http://localhost:8080/api/health-check | jq -e '.status == "ok"' || exit 1"]
    #  interval: 30s
    #  timeout: 10s
    #  retries: 3


0

评论区