Hello, I’m experimenting with testing Lemmy instance, that is deployed via Docker, how can I back it up?

Also I have one free domain, but I can’t seem to make it work on the same server (again with docker install), do you have any idea how can I run both instances on the same server?

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    You can run both in separate docker stacks and expose them via different ports.

    Hopefully your free domain supports subdomains as that is the only way to run multiple instances under the same domain. You could make your apex domain (example.com) your primary instance and your test instance test.example.com. Or run the main one at lemmy.example.com and the test at lemmytest.example.com. The important part is they both have a unique and dedicated domain pointing to them.

    To separate the two, just use a shared Nginx (or whatever reverse proxy, I like Nginx) to run virtual hosts for each domain with each virtual host passing to the correct docker containers.