I use ubergeek77 to deploy Lemmy instance on my Debian server, however I don’t know how to make a second one on the same machine. Do you have any ideas how I can achieve that with this method of deployment?
- Admiral Patrick@dubvee.orgEnglish27·1 year ago
- Point both domains to that machine (each lemmy instance requires a unique domain/subdomain).
- Use Separate docker stacks for each instance. Map the API and UI ports to different ports on the host machine in each stack.
- Use Nginx (or whatever reverse proxy) to create virtual hosts for each domain.
- Proxy-pass each virtual host to the correct docker stack/port.