Hey, take a look at this user's post, they set up their instance with docker and posted their compose and config files. I was able to get up and running using that.
I am fairly sure you can customize the nginx.conf that is bundled with the docker installation method, to add some virtual host directives to add any subdomains you want and forward to the appropriate backend.
You could also run another nginx instance on your host to handle all the subdomain virtual hosts and forward to the lemmy containers. It’s a bit more complicated but definitely should be possible. You will have to do the research and figure it out via trial and error though, unfortunately. Not a lot of documentation and how-to articles out there yet. This is all still fairly new, relatively speaking.
Note: posted using mlem for iOS, sorry if this comment is messed up in any way.
I am running Lemmy in a Kubernetes cluster. You can find the helm charts and a short documentation here: https://github.com/grouvie/lemmy_help
I am happy to help should anyone have further questions. :)
Self Hosted - Self-hosting your services.
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
Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!
- Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.
Cross-posting
- !everything_git@lemmy.ml is allowed!
- !docker@lemmy.ml is allowed!
- !portainer@lemmy.ml is allowed!
- !fediverse@lemmy.ml is allowed if topic has to do with selfhosting.
- !selfhosted@lemmy.ml is allowed!