I installed docker for Windows in order to host my own Nextcloud. I’m a Windows-guy with some experience in the command-prompt. Not a big fan of the command-prompt up till now, I must say. Also, I feel I have a short in knowledge about networking (IP, router, ports, Wan, Lan). But willing to learn and experiment. So far I like the video tutorials about the subjects the most.
All my data is in Sharepoint and I want to get it away from Microsoft to secure/own the data myself. Also in the future I want to host my own Enpass data, now it is in the cloud as well. This all is possible in docker-containers. So I’m trying to read and read, in order to get this thing working. First Nextcloud.
Docker for Windows is running fine, I even can get the Nextcloud container running and accessing it local. My network situation is that the Windows machine with docker on it is behind a router. This router I can access with a domain name and is HTTPS. My question is how to get a secure (HTTPS) connection to Nextcloud. Can I tunnel that from the router, or do I have to install certificates on my Windows machine to get a good HTTPS-connection? Where should I start reading, is there a good tutorial video how to do understand the technic part and how to set the router/windows/docker in order to approach Nextcloud as a real secure cloud from the internet, as well as local only?
Thank you @bluepuma77. So I really have to update my commandpromptskills. Hm. What are the hardware requirements for the server and which Linux would you suggest for running Docker CE? Would a Raspberry Pi 2 do the job running several containers?
I have a raspberry pi 5 8gb running several containers, including nextcloud. Although the raspberry pi 2 is a little outdated, it depends on your use case, really.
You need to think about how many users will be accessing at the same time, and the required hardware requirements for each service you’d like to run in containers and more.
It’s definitely worth having a look into those before purchasing new hardware, but it really depends on what individual services you’d like to run and their requirements to understand how many containers your can run.
Thanks @lukeg9 . I think I will start with the Pi2 to update my skills, just to see if I can get docker up and running and if I can start a Nextcloud container.
A Debian based Linux (like Raspberry OS) is usually standard. I am not sure if you can install Docker on a RasPi 2 or run any standard images on it, the ARM CPU generation (armhf) might be too old.
To secure Nextcloud with HTTPS, you have two main options: (1) Set up a reverse proxy (e.g., Traefik or Nginx Proxy Manager) in Docker and use Let’s Encrypt for SSL certificates, or (2) Configure port forwarding on your router and use your existing domain’s HTTPS setup. The reverse proxy is recommended as it simplifies SSL management and handles secure access. Start by learning about reverse proxies, port forwarding, and DNS settings. For a video tutorial, look for guides on “Nextcloud with Docker and Traefik” or “Nginx Proxy Manager for self-hosted apps.” This will help you set up a secure and accessible Nextcloud instance.