I have a bunch of plain text recipe files on a NAS. If a family member wants to cook something, they ask me to print them a copy.

I’m looking for a simple as possible way to put them on a local web server via a Docker image or similar.

Basically all I need is to have http://recipes.local/ show the list of files, then you can click one to view and or print it.

Don’t want logins. Don’t need ability to edit files. Want something read-only I can set and forget while I continue to manage the content directly on the NAS.

What would you suggest?

  • dan@upvote.au
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    24 hours ago

    Install Nginx, add autoindex on; to the default site config, throw the files into /var/www/html or whatever default folder it uses, and delete the default index.html file. If you need to do it via Docker then use the official Nginx image https://hub.docker.com/_/nginx

    You could also just share the files via SMB. Easy to use on a PC - you could configure their computers to mount the share as a network drive on boot (e.g. R:, for recipes). Not sure about other phones but the built-in files app on my Galaxy S25 Ultra supports SMB too.

    • deegeese@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      22 hours ago

      I already have SMB but want something easier for non tech family members.

      Nginx sounds like the way to go and just symlink www -> recipes

      Thanks.