services:
  siyuan:
    image: b3log/siyuan:v3.8.6
    container_name: ${CONTAINER_NAME}
    restart: unless-stopped
    ports:
      - ${PANEL_APP_PORT_HTTP}:6806
    networks:
      - 1panel-network
    command: ['serve', '--workspace=/siyuan/workspace/', '--accessAuthCode=${ACCESS_AUTH_CODE}']
    volumes:
      - ./data:/siyuan/workspace
    environment:
      - TZ=${TIME_ZONE}
      - PUID=1000
      - PGID=1000
    labels:
      createdBy: "Apps"
networks:  
  1panel-network:  
    external: true
