Skip to content

gogo199432/Lemmy-K8S

Repository files navigation

Lemmy on K8S

This repo serves as a base for a quick setup on a kubernetes cluster. Please note that this is not a clone and run type of repo, you will need to customize it to your needs to some extent.

Things this repo assumes about your environment:

  • You have a traefik setup for reverse-proxy, and it picks up ingresses with traefik-external class
  • You have a working PostgreSQL DB with a lemmy user and database running
  • You have a PVC provisioner setup. In my cluster I'm running Longhorn. If you are not, change the storageClassName in the pict-rs.yaml file
  • You have a Minio running for Pict-RS (optional, change the pict-rs config if you dont need it)

Minimum to get it running

  • Have the stuff above
  • Add your hostname to lemmy-ingresses.yaml and lemmy-ui.yaml
  • Edit the config in the following files:
    • lemmy-config.secret.yaml
    • pict-rs-config.yaml
    • pict-rs.secret.yaml
  • Create the lemmy namespace
  • Run kubectl apply on this folder

Resources:

https://join-lemmy.org/docs/en/administration/administration.html

https://github.com/LemmyNet/lemmy/blob/main/docker/docker-compose.yml

https://github.com/LemmyNet/lemmy/blob/main/docker/lemmy.hjson

https://git.asonix.dog/asonix/pict-rs/

https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published