跳至主要內容

威联通安装思源笔记

三思原创小于 1 分钟Nas威联通Nas

使用 Docker Compose 语法安装威联通上的思源笔记,可以通过指定工作目录和访问授权码来配置,提供端口映射以及时区设置,方便在威联通设备上运行并访问思源笔记。

image
image

威联通安装思源笔记

使用 Docker Compose 语法安装

version: "3.9"
services:
  main:
    image: b3log/siyuan:v3.0.1
    command: ['--workspace=/siyuan/workspace/', '--accessAuthCode=xxxxxx']
    user: '1000:1000'
    ports:
      - 8877:6806
    volumes:
      - /share/Container/container-station-data/Mount/SiYuan:/siyuan/workspace
    restart: always
    environment:
      # A list of time zone identifiers can be found at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
      - TZ=${TimeZone}