Does anyone have a guide to Traefik for an absolute idiot (myself)?

I was able to get a freshrss server running using dockercompose and was able to connect to it on my local network, but all the guides I read said I NEED to have a reverse proxy before I access it remotely.

This is probably my sign I need to actually learn how to use docker instead of being lazy as hell and copy/pasting code, but I thought I’d ask.

  • SheeEttin@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    1 year ago

    No, you don’t need a reverse proxy. If you’re accessing anything remotely, I highly recommend just setting up a VPN instead of exposing a bunch of different services to the Internet.

    That said, traefik is dead simple. There’s an example for docker-compose here: https://doc.traefik.io/traefik/user-guides/docker-compose/basic-example/

    It’s not completely secure, but I only use it so that I can access my services by name and over HTTPS. I don’t have anything exposed to the Internet.

    • biscuits@lemmy.sdfeu.org
      link
      fedilink
      English
      arrow-up
      13
      ·
      1 year ago

      In my setup I still use reverse proxy even though all of my services are inside a VPN. IMO it is just more convenient to have services accesible as subdomains or subdirectory than as different ports.

      • Lupec@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        1 year ago

        +1 for this, add Tailscale DNS or similar on top plus a local redirect and you have easy access to it all through the same unified FQDN no matter if local, remote through an exposed Caddy, or remote through your VPN.