XTR not running inside docker-compose

CMS Version

Specify the full CMS version you are using, including the revision number.
Xibo CMS 4.0.10

Installation Method

Docker-compose

Operating System

The operating system the CMS is installed on
Ubuntu 22.04 LTS

Issue

Please describe in detail the issue you are experiencing, including any errors shown in the Logs section of the CMS.
I originally posted in the player forum here 500 internal server error on datasets but it seems to be a CMS issue - my apologies if cross posting is frowned on.

I’ve performed a fresh install of the CMS using docker-compose but it appears that XTR doesn’t run as indicated in the docs: Xibo for Docker | Xibo Digital Signage

Datasets weren’t updating and would post a 500 internal server error to the logs. Once I manually run the xtr.php inside the docker container, all worked well. Is there some configuration I need to do for XTR to run automatically?

My docker-compose.yml straight from github:

version: "2.1"

services:
    cms-db:
        image: mysql:8.0
        volumes:
            - "./shared/db:/var/lib/mysql:Z"
        environment:
            - MYSQL_DATABASE=cms
            - MYSQL_USER=cms
            - MYSQL_RANDOM_ROOT_PASSWORD=yes
        mem_limit: 1g
        env_file: config.env
        restart: always
    cms-xmr:
        image: ghcr.io/xibosignage/xibo-xmr:0.11
        ports:
            - "9505:9505"
        restart: always
        mem_limit: 256m
        env_file: config.env
    cms-web:
        image: ghcr.io/xibosignage/xibo-cms:release-4.0.10
        volumes:
            - "./shared/cms/custom:/var/www/cms/custom:Z"
            - "./shared/backup:/var/www/backup:Z"
            - "./shared/cms/web/theme/custom:/var/www/cms/web/theme/custom:Z"
            - "./shared/cms/library:/var/www/cms/library:Z"
            - "./shared/cms/web/userscripts:/var/www/cms/web/userscripts:Z"
            - "./shared/cms/ca-certs:/var/www/cms/ca-certs:Z"
        restart: always
        environment:
            - MYSQL_HOST=cms-db
            - XMR_HOST=cms-xmr
            - CMS_USE_MEMCACHED=true
            - MEMCACHED_HOST=cms-memcached
        env_file: config.env
        ports:
            - "80:80"
        mem_limit: 1g
    cms-memcached:
        image: memcached:alpine
        command: memcached -m 15
        restart: always
        mem_limit: 100M
    cms-quickchart:
      image: ianw/quickchart
      restart: always

~