Lemmy instance with traefik

3 years ago by ZebraGoose to c/selfhost

Hello, first post here since leaving Reddit (yay)

Has anyone successfully setup an Lemmy instance with traefik? I was thinking about selfhost a private instance but saw that Lemmy didnt support traefik.

Im thankful for any help ๐Ÿ˜„

load all comments
stroskler 1 point 3 years ago

You can simply use traefik as ssl offloading pointing to the nginx container in the lemmy stack. Thatโ€™s what I am doing with docker swarm. I have not figured out how to get rid of that additional nginx

path: 0 138771, hotness: undefined, score: 1, children: 2
ZebraGoose 1 point 3 years ago

Okay, thats what im planning to. Read somewhere you could drop the nginx and just use traefik with the settings in nginx but that over my skills

path: 0 138771 151628, hotness: undefined, score: 1, children: 1
stroskler 1 point 3 years ago

I tried this but it's not working on my site. So basically I am using the default nginx and doin the ssl offloading with Traefik

path: 0 138771 151628 171698, hotness: undefined, score: 1, children: 0
selfhost
selfhost

@lemmy.ml

login for more options
21202
570
246

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

  • No harassment
  • crossposts from c/Open Source & c/docker & related may be allowed, depending on context
  • Video Promoting is allowed if is within the topic.
  • No spamming.
  • Stay friendly.
  • Follow the lemmy.ml instance rules.
  • Tag your post. (Read under)

Important

  • Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate. This is strongly encouraged!

Cross-posting

If you see a rule-breaker please DM the mods!

go to feed...