version: "3.9"
services:
main:
image: b3log/siyuan
command: ['--workspace=/vol1/docker/siyuan/', '--accessAuthCode=laskdfa']
ports:
- 6806:6806
volumes:
- /vol1/docker/siyuan:/Siyuan
devices:
- /dev/fuse:/dev/fuse
restart: unless-stopped
environment:
# A list of time zone identifiers can be found at https://en.**.org/wiki/List_of_tz_database_time_zones
- TZ=Asia/Shanghai
- PUID=1000
- PGID=1000
privileged: true