Now I want to add a collabora online server so i pulled the image and added the container. And in the run command my domain for nextcloud.
then installed apache and all that good stuff. added the reserve proxy config. Ohh one thing when i installed apache it didn’t start because nextcloud was running and the port was unaviable. So i did docker-compose down to stop nextcloud start apache config and then start nextcloud back up but i get errors that they are both on the same port. What do I do.
I used this docker compose filehttps://help.nextcloud.com/t/collabora-nextcloud-docker-linking-problems/67799
i get this error when i start apache when nextcloud is running, i think i need to put them under the same proxy am i correct.
It’s a nice guide but now I will have to redo my whole server and I don’t want to interrupt my other services… Is there just a way to put them both behind the same proxy and be done with it… Do I remove the proxy from the docker-compose.yml file and make a new one with apache.
They are both behind the same proxy in my example. I haven’t seen your setup, so I can’t tell you what to change.
I recommend against shuffling ports around later. You should choose a permanent setup up front.
So, based on that, it sounds like you have Nextcloud and your reverse proxy both trying to use ports 80 and 443. That’s not going to work. You’ll want the reverse proxy to have the standard ports, which means Nextcloud’s ports need to change, and tour reverse proxy vhost will have to change accordingly for the new ports.
I’m not seeing that in the docker-compose.yml that you linked, so the first thing to do is determine what exactly is in conflict.
It isn’t a matter of commands. Your Docker and Apache configurations need to be edited. If you want to post them here (don’t forget to remove sensitive info) then we can take a look, but ultimately you should learn how to manage Apache virtual hosts if you’re going to run this type of setup.
Hi – sorry you are having a problem, however I just want to understand your configuration a little better.
It sounds like you are running apache, nextcloud, collabora within docker images on the same host. By reverse proxy, are you talking about the apache/nextcloud installation and not some other reverse proxy?
What is listening on ports 80/443? Nextcloud doesn’t really listen on 80/443 its a web app that runs on a web server and its the web server that listens on 80/443. Collabora by default listens on 9980.