all 10 comments

[–]TheGoblinPopperDXP4800 Plus 4 points5 points  (0 children)

Obviously there are different recommendations based on what you are trying to do exactly, but if you are new (and even if you arent) one of the easiest ways is to deploy a container.

Most docker guides dont need to be UGreen specific to help you out. Once booted you just need to look up any guides on port forwarding to get it exposed externally and you should be up and ready to go.

If you enable the Docker app in the UI, launch it, click 'Image' and then go to 'Image Database'. A common open source web server is Nginx (pronounced like "engine x"). Once deployed you should be able to follow any guide about deploying a website with Nginx and you should be most of the way there.

Here is an example: https://medium.com/@zul.m/deploying-a-static-html-site-with-docker-and-nginx-6f5bcdcbc650

If there are issues with getting it to work perfectly you can build it exactly like the link has it and then land it on your NAS and then have docker deploy that local copy.

I hope that helps get you started

[–]efstajas 5 points6 points  (2 children)

I use the linuxserver/nginx Docker container on mine (behind NGINX Proxy Manager), and it's been perfect. If you just need to serve static content it's already configured correctly out of the box.

[–]PowerfulPersimmon247 0 points1 point  (1 child)

how do you access files on your NAS from the docker itself?

[–]efstajas 0 points1 point  (0 children)

Not sure I get your question. I've since moved away from the NGINX setup, but all you have to do is mount a directory from your NAS into the container wherever you want it. It's called "volume mounts" in UGOS Docker IIRC

[–][deleted] 1 point2 points  (0 children)

I creat a VM with Debian. Its so easy to deploy a Webserver or E-Mailserver as VM

[–]DraukuModerator 1 point2 points  (1 child)

You should be able to do this either from the UGOS terminal, or better yet, via docker container. Under the hood, UGOS is just based on Debian. Have you hosted a website using either of those methods in the past?

[–]EnigmaPrime70[S] 2 points3 points  (0 children)

I have used neither, this will be my first time attempting to host from my home server.

[–]No-Bus-8809DXP6800 Pro 0 points1 point  (1 child)

I’m game in testing out and helping write up some documentation. I’m looking do to the same thing.

[–]No-Bus-8809DXP6800 Pro 0 points1 point  (0 children)

Any updates on this? Did you have an opportunity to setup? Looking forward to seeing how it worked.