version: '3'
services:
siyuan-note:
image: b3log/siyuan:latest
container_name: siyuan-note
restart: unless-stopped
ports:
- "6806:6806" # 主机端口:容器端口
volumes:
- ./workspace:/siyuan/workspace # 正确的列表格式,使用短横线开头
command: --accessAuthCode=你的密码 # 替换为你的实际密码
network_mode: bridge
刚刚用这个成功了