docker-compose 配置文件
version: '3'
services:
siyuan:
image: b3log/siyuan
container_name: siyuan
restart: always
volumes:
- /home/Desktop/siyuan:/siyuan/workspace
ports:
- "6806:6806"
user: "1000:1000"
command: [--workspace=/siyuan/workspace,--ssl=true,--lang=zh_CN]