Originally published at: https://nextcloud.com/blog/your-guide-to-the-nextcloud-all-in-one-on-windows-10-11/
Setting up a Nextcloud All-in-One or AIO is a simple, effective way to achieve a full-blown Nextcloud installation with many features working out-of-the-box. It provides you easy deployment and maintenance of these features while allowing you to keep your data under your control.
In this blog, you will find the instructions for setting up an All-in-One on Windows 10 and 11. It is compatible with a PC with a x64 CPU with at least 8GB of RAM and 4 cores.
Before you start
First, you will need to get a public domain and be able to open ports for the guide to work. Also, make sure that you are not behind CGNAT as it will not work with that.
Please also keep in mind that the instructions are for a setup without reverse proxy. If you want to run it behind a reverse proxy, refer to https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md.
With that, let’s get started!
Install Docker Desktop
- Download docker for Windows: https://docs.docker.com/desktop/install/windows-install/.
2. Execute the ‘.exe’ and install it.
3. Click on ‘OK’ to continue (WSL2 is recommended).
4. Wait until you see this screen: and click on ‘Close and restart’ in order to restart the PC.
5. Open ‘Docker Desktop,’ then read through and accept the Terms:
6. You should see this popup now and follow the link of the popup (https://aka.ms/wsl2kernel).
7. Click on the first link there (WSL2 Linux kernel update package for x64 machines).
8. Download the wsl_update msi and install it.
9. Now click on ‘Restart’ in order to restart Docker desktop.
10. Next you should see this popup after a while and click on ‘Skip tutorial’ in order to skip it:
11. Finally, Docker Desktop is ready and you should see this:
12. You should make sure that docker Desktop starts automatically when you log in by ticking the first value in the settings:
After you’ve successfully completed installing the Docker Desktop, you can move on to installing your AIO.
13. Now open the command prompt:
- First, we create the needed docker volumes that we will later use:
Copy and paste this command into the command prompt (make sure that
C:\your\data\path exists before or change /host_mnt/c/your/data/path to your needs; this is the exact translation of the host paths into WSL paths).
docker volume create ^ --driver local ^ --name nextcloud_aio_nextcloud_datadir ^ -o device="/host_mnt/c/your/data/path" ^ -o type="none" ^ -o o="bind"
For the backup volume, also make sure that `C:\your\backup\path` exists as well on the host or change it as well to your needs).
docker volume create ^ --driver local ^ --name nextcloud_aio_backupdir ^ -o device="/host_mnt/c/your/backup/path" ^ -o type="none" ^ -o o="bind"
2. Start AIO with this command:
docker run ^ --sig-proxy=false ^ --name nextcloud-aio-mastercontainer ^ --restart always ^ --publish 80:80 ^ --publish 8080:8080 ^ --publish 8443:8443 ^ --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config ^ --volume //var/run/docker.sock:/var/run/docker.sock:ro ^ -e NEXTCLOUD_DATADIR="nextcloud_aio_nextcloud_datadir" ^ nextcloud/all-in-one:latest
3. Then you can open the AIO interface at https://localhost:8080. You need to accept the Self-Signed certificate, afterwards you should see this:
4. Click on
Open Nextcloud AIO login and paste in your password:
5. Now you should finally see the AIO dashboard:
6. Next, type in your public domain that you set up before starting this guide. The interface should help you figure out the exact steps. (Set up DDNS for your domain to point to your public IP, port-forward at least ports 443/tcp and 3478/udp and 3478/tcp to your Windows machine.)
7. After you’ve set it up correctly, it should allow you to pass to the next step where you can configure wanted optional addons and the timezone and click on
Start containers in order to download and start them.
8. Now you should see a spinner that will take a while (depending on your internet speed around 10min or more):
9. When all containers are downloaded and started, you will see this screen which shows the containers still starting which will do the first install for you:
10. When everything is done, you should see this screen:
11. You can now open your new Nextcloud instance and log in with the given admin credentials.
12. You should also open the `Backup and restore` section type in the volume that you created before like advised and submit it:
That’s it! Now everything is set up and ready for production.
Keep your data yours, through your new AIO!
For more information about Nextcloud AIO, check out the Github page.
This AIO manual and guide was created by team member Simon.