Pydio Cells with Collabora/Code using NGINX Proxy Manager

After weeks of trying to figure this out I was able to solve the issue. For anyone having this problem on this stack here is my solution.
NO NEED FOR NGINX PM Advanced rules or special Docker networks, this is all running in bridge mode.
Just set up a new proxy host for Pydio Cells and add your wild card cert or issue a new one from LetsEncrypt.

version: '4'
services:

  cells:
    image: pydio/cells:latest
    restart: unless-stopped
    ports: ["8081:8080"]
    volumes:
      - /path/to/pydio-cells/cellsdir:/var/cells
      - /path/to/pydio-cells/data:/var/cells/data
    environment:
      - CELLS_BIND_ADDRESS=0.0.0.0
      - CELLS_EXTERNAL=https://cells.yourdomain.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:
      - /path/to/pydio-cells/mysqldir:/var/lib/mysql

  collabora:
    image: collabora/code
    hostname: collabora
    expose:
      - 9980:9980
    cap_add:
      - MKNOD
    ports:
      - 9980:9980
    environment:
      - extra_params=--o:ssl.enable=true --o:ssl.termination=true
      - domain="cells\.yourdomain\.com"
      - dictionaries=en_US
      - username=${username}
      - password=${password}

volumes:
    data: {}
    cellsdir: {}
    mysqldir: {}

Working Collabora!

To the mods that were assisting me, thank you for your time.

To the devs on this project thank you for such a great project.

I believe Pydio is a much better project than NextCloud and I hope this helps anyone who can use this to take full advantage of what Pydio has to offer.

1 Like