• 5 Posts
  • 174 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle

  • Others have already answered but this might help understand.

    On cloudflare DNS, I set my domain to point to external IP address my ISP gives me for my router. Ie example.com points to 107.474.274.12

    Within my network, my internal DNS (pi hole) is set to point to the internal IP address of my server. Ie example.com points to 192.168.1.23

    Note that in the first example, the router has port forwarding so that all https traffic (port 443) is forwarded to the internal IP of my server, 192.168.1.23. I’m both example, the traffic ends up in the same place but the route it takes depends on if the traffic starts inside my network (example 2) or outside of the internet (example 1).


  • Just as an FYI its done like this because its vastly faster than flat files.

    This is also the reason why NextCloud has lots of complaints about speed and files getting locked and not syncing properly.

    Apps that are way faster (seafile, owncloud GO) use proprietary file stores.

    Obsidian Live sync works extremely well and quickly to the point that the update speed is almost like a google docs with multiple editors. Couchdb is why.


  • Lol at the obsidian criticisms in the self hosted community :)

    Couchdb is like 20 years old and not exactly ‘novel’

    I setup a docker for his like 2 years ago and did nothing other than update once in that time. Live sync has otherwise been rock solid on multiple devices.

    Obsidian not being open source is very valid criticism. The above 2 things really aren’t.








  • Use ddns on your router with a domain so you can then get something like wireguard.example.com and then use that as the endpoint in your wireguard.

    Set the wireguard DNS as your pihole.

    To make life easier set your home network IP space to something that another WiFi would never use, ie 192.168.46.xx

    That way it will never conflict if you are on a public WiFi and you can access anything on your home lab when you need.

    I’ve been using this setup for years on laptop, phone etc



  • Lem453@lemmy.catoSelfhosted@lemmy.worldSelfhosting GitLab?
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    I did an inplace upgrade of gitea to forgejo. No issues.

    I’ve been self hosting this for 2 or 3 years now.

    There has been zero maintenance other than the occasional update button

    I use it for my docker compose files that portainer pulls from with the click of the button to update my containers when needed.

    I edit the files in VS code with the git plugin and it works without issue