I'm looking to get Lemmy running inside of a Traefik 2.x equipped cluster does anyone have any docker labels that might apply?
I'm looking to get Lemmy running inside of a Traefik 2.x equipped cluster does anyone have any docker labels that might apply?
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
You're viewing a single thread.
View all comments
6
comments
Did you get it to work? Im also want to deploy Lemmy with traefik
2 0 ReplyNo
2 0 ReplyI 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!
2 0 ReplyReasonable I’m usually only adding Authelia when in dev mode.
1 0 Reply
You've viewed 6 comments.
Scroll to top