SMB CIFS & NFS Mounts to Pydio Cells Community Edition

I’m back ;-)… we were able to mount the NAS share to Pydio using CIFS and method 1 otlined above.

Did the following;

  1. created a CIFS Volume in Portainer with proper credentials
  2. modified the Pydio stack as such…
version: '4'
services:

  cells:
    image: pydio/cells:latest
    restart: unless-stopped
    ports: ["8081:8080"]
    volumes:
      - /home/docker/pydio-cells/cellsdir:/var/cells
      - /home/docker/pydio-cells/data:/var/cells/data
      - nas:/mnt/nas/data

    environment:
      - CELLS_BIND_ADDRESS=0.0.0.0
      - CELLS_EXTERNAL=https://our.domain.com

  mysql:
    image: mysql:8
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
      MYSQL_DATABASE: ${MYSQL_DATABASE}
      MYSQL_USER: ${MYSQL_USER}
      MYSQL_PASSWORD: ${MYSQL_PASSWORD}
    command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
    volumes:
      - /home/docker/pydio-cells/mysqldir:/var/lib/mysql

volumes:
    data: {}
    cellsdir: {}
    mysqldir: {}
    nas:
      external: true
      
  1. In Pydio created a local filesystem storage space and chose /mnt/nas/subfolder

We can now upload/download & delete files into Pydio’s Workspace and they appear/disappear from the local NAS folder.
Success!!!

Two new questions now…

  1. Is it possible for Pydio to retrieve a list of existing files from the NAS? If we copy files to the directory there, they do not show up in Pydio’s Workspace. Notice that any modifications to the file directly on the NAS do not show up when opening in Pydio. But as long as we only use Pydio to modify files, it works fine.

  2. Is it possible to go only 1 layer deep so we have access to all the files on the CIFS root mount point and not just a subfolder?