No internet connection
  1. Home
  2. Support

How to setup multiple instances on one server?

By Gerard K @gketuma2018-08-05 18:09:39.168Z

I’ll like to setup forums for three different communities but want to do so using just one server. Did not find this in the installation instructions. Will like to know where to start. I’ll do a pull request to the installation instructions when I get it to work so others can benefit as well.

  • 6 replies
  1. KajMagnus @KajMagnus2018-08-09 14:51:09.405Z

    Preliminary docs. These are the relevant config values. And maybe there's some typo below — can you please wait with trying this?, until I've tested myself, maybe tomorrow or during the weekend. Then I'll notify you when i know this works. I'm posting this now anyway, though, in case you're curious, or maybe you want to have a look and ask something.

    ## This is the main website. Here you can login as super admin, to view events from all your sites hosted by that server.
    ## To become owner of the main website, during installation.
    ## When you create new forums, they will be placed at this domain,
    ## example:
    ## Consider getting a wildcard cert from Let'sEncrypt.
    ## When you configure Google OpenAuth apps, you currently do that only once
    ## for all forums on the whole server. People get redirected to this address,
    ## for logging in:
    ## (You can leave it commented out — then, the `talkyard.hostname` setting gets used instead.)
    # talkyard.loginOrigin=""
    ## To create new forums, people need to go to the below address,
    ## and url pathname  /-/create-site
    ## example:  http(s)://
    ## To create a *test* site, they need to go to this address:
    ## and url pathname  /-/create-test-site
    ## example:  http(s)://
    1. Progress
    2. In reply togketuma:
      KajMagnus @KajMagnus2018-08-06 15:47:09.835Z

      Hello Gerard! Now I started writing about how to do that, I'll reply to you with details tomorrow I would think.

      1. In reply togketuma:
        KajMagnus @KajMagnus2018-08-08 13:57:40.423Z

        (Tomorrow ... )

        1. In reply togketuma:
          KajMagnus @KajMagnus2018-08-11 07:59:54.065Z

          Sorry I've been occupied writing docs about HTTPS.

          HTTPS is something you will want to configure, for your forums? And parts of the HTTPS docs are about many forums on the same server. So maybe you'd like to have a look at the HTTPS docs? Maybe try to follow those docs and enable HTTPS for your first forum?

          Then you can have a look here:

          1. IOlti N @Itlox2018-12-12 22:39:29.107Z

            Well, this means with one installation we can have multiple forums, with different domains? Because this is what I need to do. I'm going to create two different forums and would be great if I would need to install Talkyard just once.

            1. KajMagnus @KajMagnus2018-12-13 15:17:45.505Z

              Yes one installation can have multiple forums, with different domains. Ok good that that's useful to you :- )

              Would you like to wait 1 or 2 weeks with installing? I'm just about to do some changes to the installation: I'll add Traefik, so that there'll be automatic HTTPS. (Are you looking to install on a new server, or reuse an existing Docker-Compose / Swarm setup with another reverse proxy already?)