• 0 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: October 1st, 2023

help-circle




  • volumes:
      - ./homarr/configs:/app/data/configs
      - ./homarr/icons:/app/public/icons
    

    After checking the Homarr documentation, this looks correct to me.

    If your settings still disappeared after a container restart it could (imo) be two things:

    • your data got corrupted on the host for a variety of reasons

    • its a bug in Homarr or Docker

    So once again:

    For specific questions about Docker issues i would suggest /r/Docker as example, and for Homarr itself the ideal place is their Github page.


  • Any thoughts?

    How long is a jiffy?

    But also, you probably didnt set up your Docker container properly and it doesnt save persistent data. By nature containers are ephemeral, meaning you stop them and they are gone. If you want to keep specific data you need to save that on the Docker host.

    Projects like Homarr mention which paths inside the container image should be mapped to the host in order to save those things like settings.

    You simply need to follow that.

    Without any additional info thats all.

    For the future, “it doesnt work” is not great, try to provide exact details of your setup, what youre doing and what the outcome is (errors messages, logs, etc). That saves a lot of time for people trying to help you, but also for yourself.

    And fyi this here is not a techsupport subreddit.

    For specific questions about Docker issues i would suggest /r/Docker as example, and for Homarr itself the ideal place is their Github page.





  • I’d ideally like to do away with the VPN entirely, so I don’t need to set up client apps to give new devices access, but adding the extra layer of CG-NAT on top of those services makes this all more confusing for me, since most of the information I’ve found online doesn’t involve CG-NAT.

    You could run the reverse proxy on your VPS, and keep your VPN as a tunnel between your VPS and your home network. Clients would connect without any extra software to the public reverse proxy, which then redirects them through the tunnel to your home network.

    If you want to keep your VPS, that is the way i would do it.

    If you want to get rid of your VPS and also dont use software on the clients to connect, then you would need to use something like Cloudflare tunnels, which would replace your own setup. Clients connect to Cloudflare, and they redirect through a tunnel to your home network.


    • Head to “www.example.com” -> End up at self hosted authentication page asking for Username/Password.

    You can do that easily with Authelia for example. The question is tho, how people end up at that prompt initially. If you want to fully selfhost, you either need some outside node on a VPS for example which redirects through a tunnel to your actual home network. Or you use a third party service like Cloudflare.

    • Skip authentication if being accessed from within local network (Need to have WAF or I’ll be in the doghouse…)

    Again, Authelia can do that.

    • Upon authentication be sent to self-hosted landing page (similar to Heimdall) with links to my local services.

    If you combine Authelia with a reverse proxy, you can redirect after auth to wherever you want, for example exactly Heimdall, or Homarr or whatever.

    Again, a reverse proxy, ideally combined with a local DNS like Pihole for example, would do that easily for you. And you could use Lets Encrypt certs for valid SSL to use https://emby.example.com instead of http://emby.example.com:8096 or http://192.168.50.120:8096. You do not need to purchase a public domain for that, but LE requires a public domain which could be a free subdomain for example from a provider like Duckdns.org or Dedyn.io Many reverse proxies have support for LE dns01-challenge with a lot of providers, so you dont even need to open any ports for that part.






  • You wont like to hear this but: Dont do this. Do not try to circumvent protections that company IT has put in place. You will find yourself in a meeting with IT and HR much quicker than you think.

    You have 3 options:

    • Stop doing what youre trying to do

    • Talk to IT and see if they would make exceptions for you

    • Keep attempting this and risk losing your job

    You might want to bookmark a sub like /r/LegalAdvice for the future, good luck! /r/SysAdmin and /r/CyberSecurityAdvice can probably also tell you to stop doing this.





  • Database version upgrades can be tricky. Always make a proper backup before! Ideally you would make a db dump plus a copy of the db container data.

    Typically smaller version upgrades are not a problem, for example updating from 10.9.4 to 10.9.5 shouldnt be a issue.

    But major upgrades, like going from 9.6 to 10.2 can cause more problems and you should always pay attention to the release notes of a new version and also make sure that the software that makes use of that db is also still compatible with that new db version. For example it could be that Nextcloud says to stay on 10.9 and 11.0 is not yet supported.

    Since databases are usually not configured so that anyone can connect to it, let alone the open internet, it is not too bad when you lag behind a few versions. Ideally when using Docker networking for example you would have a closed network that only connects the db with the actual app that needs the app, and nothing else can connect to that db.