Is it possible to host a pydio cells instance alongside other web apps on the same machine?

I imagine it is but I’m not really a full on developer. Just a designer who is interested in self hosting.

I’ve been running a personal nextcloud instance out of my closet for the last year. I’d like to try pydio cells though as the interface seems snappier and better to use.

But I also run a personal wiki on my server and I don’t know how to that work with pydio cells. Pydio uses an internal web server as part of its binary right? Something like that right? It’s not nginx or apache so how does one set up different routing based on url stuff?

Also I’m not clear on what is necessary to get the free version working with Only Office.

Yes, this is exactly what I am doing. You will want to look into docker or LXD. If you want external access you will need to configure a reverse proxy with SNI.

Hello,

Also I’m not clear on what is necessary to get the free version working with Only Office.

For the time being, Only Office only works with the Enterprise version of Cells

But I also run a personal wiki on my server and I don’t know how to that work with pydio cells. Pydio uses an internal web server as part of its binary right? Something like that right? It’s not nginx or apache so how does one set up different routing based on url stuff?

Cells embed Caddy web server but you cannot use it to host and expose non-cells pages, typically, your wiki.

Yet it is quite easy to add a reverse proxy in front of it, on the same machine and redirect part of the traffic toward Cells, part of the traffic toward something else.
You certainly can use Docker or LXC to contenairise your apps, but it is not a must: Cells is a single binary file and needs:

  • a port
  • an exclusive domain name (might be a subdomain)
  • 4GB Ram / a decent CPU

You might setup something like that on a single machine

                     WWW         |    Your machine
(All requests for *.example.com) |  => a reverse proxy => proxy files.example.com toward cells port  
                                                      => proxy everthing else  toward your static files for instance         

So let’s say, for instance:

  • you also use caddy as a reverse proxy,
  • you install Cells at port 8080, with:
  • you have static files under /var/www/public
  • you expose your wiki with another app on port 7070
  • you use Let’s encrypt for your public certificates

your caddy file should look like this:


# Cells
https://files.example.com {
        tls you@example.com
        errors /var/log/caddy/files-proxy.log
        timeouts 0

        # And the rest to pydio
        proxy / https://files.example.com:8080 {
                insecure_skip_verify
                transparent
                websocket
        }
}

http://files.example.com {
		redir https://files.example.com
}

# Your static web site
https://www.example.com {
        tls you@example.com
        errors /var/log/caddy/www.log
        root /var/www/public
        gzip
}

# your wiki
https://wiki.example.com {
        tls you@example.com
        errors /var/log/caddy/wiki-proxy.log
        timeouts 0

        proxy / :7070 {
                ...
        }
}

For further info, you can have a look on the various tutorials for the reverse proxy on the Pydio Website

Thus said,

I’d like to try pydio cells though as the interface seems snappier and better to use.

always nice to hear :slight_smile: . Let us know if it’s helping and happy hacking!