Nextcloud Talk HPB Multi-tenant Setup – Configuration for Multiple Subdomains

Hey @gokul, if you’re referring to this setup example;

you could try something like this for a multi-tenant setup.

HPB for Talk in Nextcloud with Docker, multi-tenant setup example with docker

`name: 'hpb'

services:

  nc-talk-1:
    container_name: nc_talk_1
    image: ghcr.io/nextcloud-releases/aio-talk:latest
    init: true
    ports:
      - 3478:3478/tcp
      - 3478:3478/udp
      - 8181:8081/tcp
    environment:
      - NC_DOMAIN=cloud.domain1.tld
      - TALK_HOST=signal1.somedomain.tld
      - TURN_SECRET=secret
      - SIGNALING_SECRET=secret
      - TZ=Pacific/Auckland
      - TALK_PORT=3478
      - INTERNAL_SECRET=secret
    restart: unless-stopped

  nc-talk-2:
    container_name: nc_talk_2
        image: ghcr.io/nextcloud-releases/aio-talk:latest
    init: true
    ports:
      - 3479:3478/tcp
      - 3479:3478/udp
      - 8281:8081/tcp
    environment:
      - NC_DOMAIN=cloud.domain2.tld
      - TALK_HOST=signal2.somedomain.tld
      - TURN_SECRET=secret
      - SIGNALING_SECRET=secret
      - TZ=Europe/Berlin
      - TALK_PORT=3478
      - INTERNAL_SECRET=secret
    restart: unless-stopped