Talk High-performance backend without Docker?

Is there a straightforward way to add the Talk High-performance backend to an existing Nextcloud instance without using Docker?

Or should I install a new Nextcloud instance using Docker and scrap the existing one?

Sorry if this sounds like a stupid question, but I have very little experience with using Docker, so have no idea how or if it can be used with my existing Nextcloud instance.

Well, it’s possible, but it certainly wouldn’t be as straightforward, as it involves installing a number of separate components that you all get in a nice preconfigured package when using the Docker Container.

No need to. It’s perfectly fine to run a bare metal Nextcloud and add the Talk HPB via Docker.

1 Like

Thanks, that is useful to know. So clearly I need to learn more about using Docker

Not a Docker exper either, but here’s my notes how I got it working on a test instance with Apache:

Setup Docker:

curl -sSL https://get.docker.com/ | CHANNEL=stable sh
mkdir /opt/talk-hpb
cd /opt/talk-hpb

Secrets and .env File:

{
echo "FQDN=cloud.domain.tld"
echo "TURNSECRET=$(openssl rand -hex 32)"
echo "SIGNALINGSECRET=$(openssl rand -hex 32)"
echo "INTERNALSECRET=$(openssl rand -hex 32)"
} >> .env

compose.yaml:

nano compose.yaml
services:
    aio-talk:
        container_name: talk-hpb
        image: nextcloud/aio-talk:latest
        restart: unless-stopped
        environment:
            - INTERNAL_SECRET=${INTERNALSECRET}
            - SIGNALING_SECRET=${SIGNALINGSECRET}
            - TURN_SECRET=${TURNSECRET}
            - TALK_PORT=3478
            - TALK_HOST=${FQDN}
            - NC_DOMAIN=${FQDN}
        ports:
            - 127.0.0.1:8081:8081
            - 3478:3478/tcp
            - 3478:3478/udp

In the Nextcloud Apache VirtualHost, add the following line:

ProxyPass /standalone-signaling http://127.0.0.1:8081 upgrade=websocket

Pull the image and start the container:

docker compose up -d

Sources: