Hi,
I’m currently setting up the Nextcloud AIO using Docker, but I’m running into some issues. I’m stuck at the step where I need to enter my domain — I get a port 443 error.
Let me explain my current setup:
I have a firewall (i have the poort 443 end 8080 Open only voor mijn nexcloud Container) with a home server behind it, running Ubuntu 24.04 and Docker. The server has three network interfaces. I’ve attached a Docker container to the physical network interface using the following command:
docker network create -d macvlan -o parent=eth3 --subnet=e.f.g.0/24 --gateway=e.f.g.254 eth3
I did this because I want the container to be directly accessible on my physical network. I’m also planning to create an additional isolated network on the same Docker host for a second Nextcloud instance for a friend.
So currently, I have:
My home network (192.168.3.X) – used as a management network
My personal Nextcloud environment (192.168.2.X) – domain: domain2.nl
My friend’s Nextcloud environment (192.168.1.X) – domain: domain.nl
The reason for this setup is that I already host several self-hosted applications on my home network, including a mail server that uses port 443. To avoid conflicts, I decided to use separate networks for each Nextcloud instance los form my managent network because for now i only want to now of this is possible and i do not want to change my other applicaties.
And I’ve successfully reached the initial setup page of Nextcloud AIO. However, the problem seems to be that during domain verification, Nextcloud automatically creates an container to check the domain but it makes a new network for this on in bridge. That container ends up on my home network, where port 443 is already in use by my a other application. As a result, the domain verification container cannot access the internet properly.
Even when I try to define the network explicitly in the Docker Compose file for the domain verification container, it seems to revert back to the default settings or replace the container i am not fully sure.
Does anyone know how to resolve this issue or force the domain verification container to use a custom macvlan network instead of the new bridge network?
Thanks in advance for your help!