Skip Navigation

Can I have two instances on the same machine?

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?

2 comments
    • 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.
  • you only have to start a second docker cluster with a different public port