• 0 Posts
  • 109 Comments
Joined 11 months ago
cake
Cake day: December 28th, 2023

help-circle




  • Except that everything is under your control and not managed by a third party, not much I think.

    If this setup works for you and you’re happy with it, just keep it going.

    If you have time to spare, want to learn new things, tinkerer arround with network security, certificates, DNS, reverse proxy and, and, and… You can give it a try in a virtual machine and docker containers. But keep in mind that’s not an easy way and involves a lot of personal time before you get a GOOD working self-hosted / exposed services.

    I wouldn’t recommend to open any port on your router except for a secured tunnel like wireguard and connect to your services through that tunnel. Opening port 443/80 on your router is bound to some heavy automated scanning and brute force by bots. If you don’t have the necessary knowledge/tool/hardware, this is just going to put you at risk of ddos and remote attacks.

    That’s way something like cloudflare is populare, they most of the time take care of that nuisance and also why something like wireguard is popular among the selfhosting community.







  • I’ve subscribed to YT Premium today.

    If you’re on Android there’s InnerTune. It’s basically YouTube music but for free ! Just to bad you can’t directly access downloaded files to export them elsewhere. (Yeah that’s practically piracy and illegal)

    I like navidrome + Tempo as self-hosted solution. Works well without any issues. However, I read about horror stories people losing all their media or fucking up their media library ?

    Also, that’s a huge song library (20.000?)… Not sure this can be easily handled over to a self-hosted solution? But first you need to organize your songs



  • Not the whole code but only the part that triggers those flags. Not everyone is versed in C to “verify the code” himself… That’s a stupid take, It’s like saying to a toddler to change his diapers on his own when it’s dirty.

    Strangely enough It went from 1 trigger to 29 triggers after 1 update? Seems rather sketchy :/ In the past (pirated games/software) I would have ignored those warnings and add an exception into my firewall… But nowadays with all the crypto schemes and obfuscated code, I won’t go near anything like that.



  • Hi there ! Sorry my English is not that good, but I’m doing the best I can !

    Actually, I do not have a VPS. I use an old spare laptop as server which handles everything.

    I have Wireguard barebone installed with a a second external wireguard interface and some iptables to send all traffic to ProtonVPN.

    All my containers,on the same laptop, are directly reachable via this configuration and HTTPS is handle by Treafik with my self-signed local certificates (root CA with intermediate CA).

    Eg: From my mobile over WiFi or 4G I can access all my containers where ever I’m. My endpoint in my Wireguard’s confirguration (on my phone) being my home’s public IP.

    I hope I answered your question? If not I’m willing to give you a diagram of my setup, this will probably clear up the confusion/question? And will probably be way more explicit than my broken English 😄.


  • Probably what you’re looking for is the following setup:

    docker <-> services <-> reverse proxy <-> VPN <-> Internet

    1. Your next step is to chose a reverse proxy to handle your requests and serve your services on port 80 and port 443. There are several choice and you have to somehow stick with it, because each reverse proxy has it’s up and downsides and learning curve:
    • Treafik (that’s the one I use and is specifically made for containers)
    • Caddy (Never used it but heard only good things about it)
    • Nginx (this one is a beast to tame, however I heard it’s easier to setup with nginx proxy manager)

    Those are the 3 big players I’m aware of.

    1. You reverse proxy ready and functional you need something to access them outside your LAN. There are also several ways to achieve the same goal. The one I use and are happy with is to configure Wireguard on your server and only open the port needed to connect to it.

    This is also a big part and probably this is the route of a tinkerer and have lot of personal time to spare… There are easier AIO routes that will probably save you time and energy. (Others will point you to the right direction)

    1. Bonus tip

    You will rapidly understand the necessity of DNS. Reaching out to your services by IP:PORT will annoy you over time, even if you save them as bookmarks. Also if you don’t assign a static IP to your containers they will change every time you restart them or reboot your server. Not very practical !!

    Here you have 2 choices:

    • personal mini certificate authority (totally free and personal local domains but harder to setup)
    • cheap domain name with automatic certificate generation.

    I personally chose the tinkerer route and learning process. But I have time to spare and while I prefer this route… It’s very time consuming and involves a lot of web crawling and books reading.

    If you are interested I can recommend you a good ebook on how to setup your own mini-CA :).


    Hope it helps, you are halfway through !


  • Trying to add a direct path to files doesn’t work.

    Dunno what’s wrong here, but I do add a files direct path to /etc/ssl into a docker container and works as expected.

    I think It’s related to miniflux and have my self-signed certificate in its truststore to communicate with wallabag (inter-docker communication).

    I can’t give you a snipped of my compose but will gladly edited my comment when home.


  • N0x0n@lemmy.mltoSelfhosted@lemmy.worldMozilla grants Ente $100k
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 months ago

    Nobody ever talking about lychee ?

    Yes okay it’s not GPL or written in a fancy new language (PHP is still alive xD). But it’s simple, elegant, no UX bloat, no ML or IA stuff… Just a plain simple self-hosted photo manager.

    One thing I really liked about it, you can import you external photo’s with .xmp files, just one checkbox away.

    The tag feature is simple but working as expected. Nothing fancy but it does best what’s it’s supposed to do !!

    Call me old boomer but I really like the simplicity of lychee. It’s a bit like how reading an article from miniflux or wallabag… Simple html files without bloating your eyes or your brain…

    Just my 2c, nothing to see here !



  • I have a self-hosted Baikal server with self-signed CA on Android 14 and it works.

    However, I didn’t had to add the certificate to Davx⁵ itself. Adding a rootCA into your device and your reverse proxy handling the request should work as expected over https.

    Those kind of things are difficult to troubleshoot, this could be:

    • Bad rootCA certificate, missing the necessary options ?
    • Wrong certificate handled by your reverse proxy ?
    • Radicale doesn’t recognize your certificate extension ?
    • Wrong networking configuration ?
    • Bug ?

    We need more infos about your setup:

    • Do you use a reverse proxy ?
    • Had you already any success with this certificate within an other application ?
    • Any logs from your Android, Davx⁵?