Avatar
Vlady
1f297398e7abbfade212d7bf1e98bfbf682064a9a5cea4a5f3de49df63330302
Like coding, Linux as an OS of choice, cooking new random delicious things, nature and good things around us. On Nostr since 793,700

Try app called Tasker by joaomgcd

This app can automate almost every aspect of android os.

Good night fren๐ŸŒƒ

Itsy Bitsy Spider

#insectstr

Chopsticks ๐Ÿฅข

Just kidding, donuts of course ๐Ÿฉ

Amethyst monthly data usage

Mobile data 6,054 Mb

Wifi 30,743 Mb

๐Ÿ™„

It doesn't care what you do or think, it's just going its thing. #bitcoin

Happy to help. DM if you run into any issues.

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.

Solution I posted above takes 36mb of ram. But I would suggest to buy with 8gb or more ram. I always regret that I bought 4gb pi and eventually had to get something more powerful.

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 &

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.