Webserver for internal use on Truenas Scale

Hi all,

i have a truenas scale server running plex /Jellyfin for media and ollama for some LLM stuff i am working with.

i want to publish some websites internally (so no external access to these website) so i can test them before deploying via github and cloudflare for external consumption.

What is the best method for doing this? is it a container / VM or an ‘app’

regards

I use a VM (ubuntu server ) for that. Gives you the most control over needed packages ( i need nginx, flask and python to name a few). Works perfekt for my - inadept - tries at web app developpement.. Containers are still "experimental ".

Load on the system is minimal.

1 Like

For static documents I found the SWS static web server quite nice - lean and easy to deploy as a custom app or in one of the Docker management apps.

But your question reads a bit like you want to deploy web apps and not only static documents. In this case a VM as @Farout wrote is probably the best solution, because you are flexible with the runtime stack. Which you did not specify - PHP? Python? Ruby on Rails? …

HTH,
Patrick

for static websites i use nginx, i used also caddy in the past (to add more options of what already mentioned).

For host a web app i use, i have opted to build a docker image and run it as a stack via portainer; having only one, and not much used, for my use case seemed an overkill to run a dedicated VM… despite also IMHO the VM is still the better option ATM for most use cases

thanks for the responses. I am looking at using the following

  • Static HTML with Java script
  • python
  • react js
  • ruby
  • i also want a back end database - i am trying to keep the sites compartmentalized so am looking at duckdb.

thanks for your assistance -i think a debian container seems to be the best way to go

1 Like

Overkill for just simple web servers!

If you can’t make it work with an LXC, you have bigger problems…