Files
Docker/siyuan/docker-compose.yaml

13 lines
325 B
YAML

services:
siyuan:
image: b3log/siyuan
container_name: siyuan
command: [ "--workspace=/siyuan/workspace", "--accessAuthCode=${SIYUAN_ACCESS_CODE}" ]
ports:
- "${SIYUAN_PORT}:6800"
volumes:
- "${SIYUAN_DATA_DIR}:/siyuan/workspace"
restart: unless-stopped
environment:
- TZ=${TZ}