You could use just a simple Apache (or even some simpler static file server) with no authentication what so ever, but only accessible to your own network. Then, add a Reverse Proxy Gateway such as Traefik, Caddy or whatever else, and add Authentik as a Middleware. User heads to the site (I.e.: files.yourdomain.ext), Reverse Proxy Gateway bounces the request to the Middleware (I.e. Authentik), requires the SSO via whatever authority you’ve got setup, gets bounced back, and then your Reverse Proxy Gateway serves up the static content via the internal network without authentication (i.e.: 172.16.10.3).
If you are more interested in running apps than having a NAS, I recommend trying CasaOS. TrueNAS is great, but I found CasaOS significantly more straightforward, especially when it comes to smb shares (it’s like two clicks).
Also TrueNAS uses ZFS which is good for what it is, but means you basically need a machine running TrueNAS to read/write the drives in case something goes wrong.
that is kinda what I’m trying to do. truenas is nice and all but its also pretty advanced and not beginner friendly when it comes to a lot of things. I’ve heard a lot about casaos from a youtuber that I like to watch, but I never realized that it was more of a nas os than just a platform to run applications. I’ll give it a shot! thanks for the recommendation.
Compared to TrueNAS, CasaOS is more of a “platform for running apps”, but unless you’re storing dozens of terabytes of improtant data in RAID or something, it’s still probably the easier/lower maitenence option.
An alternative (which doesnt fully meet your requirements for browser based) is Jetbrains Rider. You can use its remote development feature to have your code on your server, and the IDE on your local computer.
Another option to get code to and from your device would be to use git to commit and push your code. There are git apps for android that should work for this?
I recently migrated my Plex server to a box running Proxmox with Plex in an LXC container. Very little resource overhead, and it’s been rock solid ever since. No ragrets.
You should really try the GitHub CLI, it’s amazing. I only use the GUI for tweaking settings and browsing here and there. Everything else you can do from JetBrains / Viscose native, including PRs.
I only have the OS on the sd card and I pop that out and dd a copy to my backup drive every 6 months or so. For that reason I like to use small sd cards like 8gb size. All other drives on the machine are external or network drives and those have their own backup routine with rsync.
Do you use only the sd card or what kind of storage system do you have on your sbc?
The SBC is only running with a SD Card and nother else plugged in. But I suppose my best bet is to run a script with rsync and save what I need using rsync over SSH to my storage server
The only down side I can see with that setup is that should the sd card fail you’ll have to reinstall the OS on a new card and then install and configure all the programs you had before. For my set up that would be a pain in the neck but it depends on your specific use case.
You don’t need to pop it out to DD the SD card, you can do it while it’s running. I like to pipe DD through gzip to get a compressed image as the output so I’m not sitting on 16gb file for 3gb worth of files.
You can have it written to an external drive, or you can use tools like sshfs and ftpfs to mount remote servers as local drives then write to those. I use the sshfs route.
This will create an .img that you can just write directly to an sd card and boot from.
If you have vertical clearance above the board, get a pwm 120mm fan, carefully zip tie and call it a day.
The added benefit of an oversized fan beyond noise is that it’s actively cooling other parts of the board which normally may not be reached by the smaller fan.
If nextcloud is overkill, then just serve the file with Apache (with directory listing turned on) and put it behind oauth2-proxy. It’s as simple as it can get.
I recommend going with regular backups and maybe something like docker. Then you just have to restore the config volumes and all the accounts should still be there.
selfhosted
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.