I'm looking to get Lemmy running inside of a Traefik 2.x equipped cluster does anyone have any docker labels that might apply?

5 years ago by Rearsays to c/lemmy_support

    deploy:
      replicas: 1
      placement:
        constraints:
          - node.hostname == web
      labels:
        - "traefik.enable=true"
        - "traefik.http.routers.lemmy.tls=true"
        - "traefik.http.services.lemmy.loadbalancer.server.port=1234"
        - "traefik.http.routers.lemmy.rule=Host(`lemmy.example.com`)"
        - "traefik.http.routers.lemmy.entrypoints=websecure"
        - "traefik.http.routers.lemmy.tls.certresolver=letsencryptresolver"
        - "traefik.http.routers.lemmy.service=lemmy"
        - "traefik.docker.network=traefik"
        - 'traefik.http.routers.lemmy.middlewares=authelia@docker'

c/lemmy_support

load all comments
ZebraGoose 3 points 3 years ago

Did you get it to work? Im also want to deploy Lemmy with traefik

path: 0 15927, hotness: undefined, score: 3, children: 3
Rearsays 2 points 3 years ago

No

path: 0 15927 953143, hotness: undefined, score: 2, children: 2
chiisana 2 points 3 years ago

I shared this a little while back with my labels, hopefully this could help: https://lemmy.chiisana.net/post/264

Another thing to note is that since other instances will be pushing data too your instance, you’d need to remove the Authelia middleware else they won’t be able to send things back to your instance.

Hope this helps!

path: 0 15927 953143 1004962, hotness: undefined, score: 2, children: 1
lemmy_support

@lemmy.ml

login for more options
5111
1593
92

Support / questions about Lemmy.

Matrix Space: #lemmy-space

go to feed...