services:
  office-preview:
    image: seafileltd/office-preview:latest
    container_name: seafile-office-preview
    environment:
      - IGNORE_JWT_CHECK=true
    ports:
      - "8089:8089"
    command: bash start.sh
    volumes:
      - /opt/office-preview/shared:/shared  # the host path can be customized
