siyuan/docker-compose.yml

18 lines
397 B
YAML

version: "3.9"
services:
siyuan:
image: b3log/siyuan
container_name: siyuan
command:
- "--workspace=/siyuan/workspace/"
# Optional: set a strong access code for browser login
- "--accessAuthCode=YOUR_STRONG_CODE"
ports:
- "6806:6806"
volumes:
- "/mnt/data:/siyuan/workspace"
environment:
TZ: "Europe/Rome"
restart: unless-stopped