Raspberry pi or something like it. Http server:
python -m SimpleHTTPServer or python3 -m http
Docker tunnel to cloudflare to hide your ip.
Raspberry pi or something like it. Http server:
python -m SimpleHTTPServer or python3 -m http
Docker tunnel to cloudflare to hide your ip.
Thanks vlady! There’s no way getting around the pi in your opinion?
In your initial post you want to self host but not on your node. For that you need a level of separation. That is physical server like pi, or a virtual like a vm or container. I would run it all in a docker container with http via python and smb or nfs.
I guess I can’t get around the physical server. If I run a vm, it would use ressources of my desktop and have to always be on for the files to be available. Or on a pi if I don’t want to use up the ressources of my node's personal server.
That’s good to know. Thank you!
Do you know if I’m better off with an SSD for hosting of media or HDD is ok ?
I will add to that, if you’re willing to use docker, PicSur is really excellent for self hosting images to share.
Should run on just about anything.
Good know! Thank you!
Do you know of any alternatives to the pi? I remember seeing notes about mini computers. Maybe intel but I forget. Do you have any recommendations ?
Dell OptiPlex mini pc’s can be had off lease for cheap, and often have better specs. #[1] might be a contact to buy one for sats as well.
thanks for the info! Looking at some refurbished listings online. Very cheap! Comes with an ssd.
Is docker relatively easy to use and to install ?
Yes. For simple setups it’s very easy. It can get more complex as you go, but I found it was never too much at once.
Learning docker for few hours saves countless weeks of reinstalling an configuring.
Makes sense. Do you know any good ressources on docker that I could read/watch ?
And how complicated is it to do docker to cloudflare to mask the ip address ? Is it pretty straightforward ?
Look for
1) Bret Fisher
3) look for popular repos on Github for Dockerfile and docker-compose.yml examples
Look for cloudflare tunnel.
It basically adds an extra container to your stack that is on the same vlan as the other one, but connected to cloudflare. In cloudflare admin wgui you specify what port and container name to bridge to.
This sounds like a fun project to learn docker.
Tbh you might ought to look at caprover. Or perhaps we could open a nest this evening and chat?
I’ll dig you up some links when I’m back at the desk either way. ❤️
Do you need docker to be installed for caprover to work? From what I’ve read briefly it seems to be very easy to use. Does it also help with masking the ip address ?
It can, because you should be able to put it behind cloudflare proxy.
You only have to install docker to use caprover. It does the rest. But you can still deploy docker images as you get more powerful moving forward.
Caprover also has many one click install stuff (mostly docker itself, but automated)
So docker->caprover->cloudflare proxy -> one click install picsur from capsur ?
From caprover I mean
I don’t think PicSur is on there. There are others such as Immich, etc. But it would be easy to deploy PicSur on caprover using the web interface.
I would plan plenty of tinker time, but everything you’re wanting to do is very achievable. I’d want a weekend or a couple of evenings if I was doing it for the first time again.
Hdd will do, even sdcard will do for image hosting.
If anyone is looking for down and dirty solution.
Seems to work fine as I suggested.

I started with this:
docker run -p 137-139:137-139 -p 445:445 -p 4568:80 -v /home/user/share/:/shared --name samba pwntr/samba-alpine
4568 is the port to access shared container data over http, only port 4568 should be exposed via tunnel.
smb share works in anonymus mode. Change config if needs to be more secure on local network.
current container is missing this as a last step in Dockerfile. Can be done by changing entry point to CMD to run
start.sh that will contain:
supervisord" "-c" "/config/supervisord.conf &
python3 -m http.server 80 &