~alpine/users

1

AMAZING Alpine !

Jerome Marc <marcjero@yahoo.com>
Details
Message ID
<CAD1Ag0x8wxh9T7KxSTJ-tAzq7nu24oHWgzdhVG4Jw2p-KJZ68Q@mail.gmail.com>
DKIM signature
missing
Download raw message
Hi,

I just completed my RPI setup. I started using the diskless mode but I
needed more storage so I switched to the sys mode.

The result is impressive. The RPI was laying around for few months. I
wanted to build a multi-purpose always online machine to support these
features:
-Basic SMTP relay (mainly for an aging printer that doesn't support
encryption)
-Nginx reverse proxy with SSL that will forward to applications running in
containers
-Bonjour sleep proxy service to automatically wake up server on demand
-Smart Home gateway to connect Googe home to my devices

Most of these services are up and running. I decided to use docker and
install node-red in a container. I will add a MQTT container in the future.

With everything started memory consumption is about 80Mo  including the
node-red container. My PI is a 512M model therefore it's using most of the
available memory for filesystem caching.

But the most impressive thing is the overleytmpfs mode. It's easy to enable
in the kernel command line. After restarting, the root filesystem becomes
read-only and the files updates are stored in memory. So it's fast and
power outage isn't a concern anymore. If you need to upgrade the machine
you just need to desactivate the overlay and reboot, not a big deal. Then
activate overlay again, reboot and you are safe forr the long run.

My dream was to be able to run docker images in overlay mode. Guess what
:after a bit of tuning it works !
Basically you can switch the system in rw mode, install images and launch
containers and then reboot in overlay mode. That's insane ! No risk of data
corruption or sd card wearing. I think I will write a tutorial to setup
this.

I really love Alpine because it's lightweight and keep the things simple.
It's a bit ike the 20 years old Debian releases, for simplicity and
footprint I mean. The footprint is really very  Ilow. We talk about mbytes
not gbytes. And there are unique features (diskless, overlay) that makes
the system really efficient.

THANK YOU SO MUCH for the job done.I know this place is for asking for help
when you have problems. But when everyting is working so nicely it deserves
to be said.

Jerome
Bosco Vallejo-Nágera <bosco@vallejonagera.xyz>
Details
Message ID
<CKFKFC9QH5LS.1NKN8HWW6DJP7@MacBook-Pro-de-Bosco.local>
In-Reply-To
<CAD1Ag0x8wxh9T7KxSTJ-tAzq7nu24oHWgzdhVG4Jw2p-KJZ68Q@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
That's great!
I toyed around with a raspberri pi for smart home in the past, you
should look into https://rhasspy.readthedocs.io/en/latest/ or
voice2json.org if you want to ditch google home alltogether, that way
you can aim to have a free system that doesn't spy on you
Reply to thread Export thread (mbox)