Setting Up NextCloud on Docker w/ NGINX and Cloudflare for Remote Access!

preview_player
Показать описание
Today's video sponsor sponsored and I use their service regularly!

✨✨30% discount code:
✅ DB23

Purchased keys are permanent and you can see for yourself in the video!

✨✨ Genuine Lifetime Activation Windows 10 Pro only $13:

✨✨ Genuine Lifetime Activation Windows 11 only $18.50:

✨✨ Genuine Lifetime Activation Windows 10 Home only $11.50:

✨✨ Genuine Lifetime Activation Office2019 only $39:

/=========================================/

In this video we'll take a look at installing NextCloud on Docker using Portainer. We'll also modify the .htaccess file to allow for larger uploads.

If you want to access your NextCloud instance from the internet, we'll take a look at how to use NGINX Proxy Manager and Cloudflare to do that and add some security to your setup.

Resource Links

NextCloud Docker-Compose/Stack:

NextCloud .htaccess Fix:

NGINX Proxy Manager Install:

CloudFlare Videos:

NextCloud Official Links:

✨Join this channel to get access to perks:

✨Come chat in Discord:

✨Find all my social accounts here:

✨Services (Affiliate Links):

✨Hardware (Affiliate Links):

The hardware in my current home server is:

/=========================================/

Remember to leave a like on this video and subscribe if you want to see more!

/=========================================/

Like what I do? Want to be generous and help support my channel? Here are some ways to support:

/=========================================/

Here's my Amazon Influencer Shop Link:
Рекомендации по теме
Комментарии
Автор

Walk-through still works! There were a few quirks, and I had to also look over few other videos to reference when I was stumped with errors with NGINX & Cloudflare. Thanks man

marqueluxuriante
Автор

Great step by step video for the old version of NextCloud, It will be great if you can do the same video with the new NextCloud aio, using the same metod, local server plus nginx proxy manager. Best Regards

briahayandiazluisi
Автор

Man, you're a life saver!!! I've been trying to get this setup working for over a year now.... THANK YOU!!!

justinho
Автор

I know it's impossible to cover everything, but another thing to touch on could be using the external storages function. I followed along with your Raspberry Pi tutorial, but I had to go into the container console and install smbclient in order for it to access my external hard drive from OMV in the Nextcloud instance.

Jtarcz
Автор

I followed this and couldn't get past the login because my system wanted me to setup the database. I got around this by adding mariadb using a portainer provided template. Then it takes me to a login screen without the database setup part. Great tutorial, I thought my comment may just help someone else who's stuck.

jordant
Автор

Hi David, longtime viewer, love your videos. Have you ever tried maximizing next cloud storage capacity to use external storage like say an attached storage on your OMV setup or even a network attached drive on the network?

kslim
Автор

Is it possible to use something else than Cloudflare? I'm not too keen on routing my traffic through the servers of an American company. I'm a beginner in stuff like this, but really enjoyed the video!

duskern
Автор

It would be great if you go over the process of adding external storage to the Docker container.

tmmtohru
Автор

Hey David - why Nextcloud, and not Nextcloud AIO?

stephendetomasi
Автор

Thank you so much for your videos, you are an inspiration and a really great help for me and my self-hosting projects!

vmdcortes
Автор

for anyone that would have the same problem as me, which is that you can't login with the admin user after install, delete your browser cache and try again, it should work.

DanJackielz
Автор

I think setting up cloud flare with next cloud as https should be the default and not http. Also showing how to do it would be great. Thanks.

Billyfelicianojp
Автор

Hi, can the command line you mentioned be entered somewhere in Portainer after the stack is deployed? In other words is there a way to interact with a docker container in a stack to make Configuration changes or issue a command ect. Once you deploy the stack that’s it and if you wanna make a change to one part of it you can’t just re-deploy one of the docker containers inside the stack that’s where I get confused. Do you have to deploy the whole stack In this case if you want to make a change to the Maria database if you redeployed don’t you lose settings etc.? I deployed the stack but before I saw the command you had does not start correctly but nginx works fine tho. This the command I’m referring to — ect . I didn’t type it all out here. Please educate me thanks for the video!

markstanchin
Автор

I've used your .htaccess-Mod for the php settings in another way: I've placed the file outside the container and mapped it with a volume entry in my docker-compose to the container. It works, but now I use watchtower to update my docker containers and if there's a new image available the update didn't work. Is your method working every time or do I have to update the .htaccess every update?? Or is there a different way to do these settings? For example with environment variables in the compose file?

persching
Автор

Another great video! Keep up the good work, and thank you!

I have a question about Nginx. If I have Nginx already up and running on an x86 machine that's not always on, can I run another instance on a Pi and can I port forward in my router (ddwrt) 80 and 443 to both machines? Or is it better to use only one Nginx on my network?

Thanks again.

Farizno
Автор

Thanks for your video. I've been following your tutorials and have setup a docker for nextcloud using cloudflare and nginx-proxy-manager. It's pretty awesome and your tutorials have helped tremendously. I'm now going through all your otherr videos to find other useful docker containers to run on my OMV box.

Question: do you have a tutorial how to get a collabora/code docker running to enable on-line editing of files on nextcloud? That's my next goal so any help you could provide would be appreciated. I have the collabora server running and pointed nextcloud to it. The nextcloud office app indicates "Collabora Online server is reachable" but it still doesn't work.

Mayhem
Автор

I've got everything up and going but when I login I have to refresh the page to get it to go to the home screen, also the phone app won't connect to the site (just getting the spinning loading screen). When I go to the admin tab it won't load the recommendations where it says "Checking for system and security issues." I feel like its something to do with https requests but I'm not sure.

koolaidman
Автор

Thank you for you video, With this I was able to setup next cloud with Docker, Thanks.

yourlinuxguy
Автор

my files just load forever is there any way to speed this up?

winecountrygames
Автор

Hi @DTTech it is possible to add an external hdd and move all the NextCloud data to it ? I tried to mount the new hdd and add a new volume to the container, then with the External Storage plugin I can add the drive to the NextCloud but I don't know how to use it for all the data .

KaLiDEM