How do I run laravel-websockets within a docker container?

I am currently running a Laravel project in a Docker container. I would like to run Laravel websockets within this container, what settings do I need to include in Dockerfile and docker-compose.yml files? I am using this Laravel-Docker template

My docker-compose.yml file is as follows:

version: "3"

services:  
    # nginx
    nginx:
        container_name: ${PROJECT_NAME}_nginx
        build: ./docker-assets/nginx
        volumes:
            - ./src:/src
            - ./docker-assets/nginx/conf.d:/etc/nginx/conf.d
        links:
            - php-fpm
        ports:
            - 8080:8080
        working_dir: /src

    # php
    php-fpm:
        container_name: ${PROJECT_NAME}_php-fpm
        build: ./docker-assets/php
        links:
            - mysql
            - redis
            - mailhog
        volumes:
            - ./src:/src
        working_dir: /src

    # database
    mysql:
        container_name: ${PROJECT_NAME}_mysql
        image: mysql
        volumes: 
            - ./database:/var/lib/mysql
        ports:
            - 3306:3306
        command: --default-authentication-plugin=mysql_native_password
        restart: always
        environment:
            MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
            MYSQL_DATABASE: ${MYSQL_DATABASE}
            MYSQL_USER: ${MYSQL_USER}
            MYSQL_PASSWORD: ${MYSQL_PASSWORD}

    # adminer      
    adminer:
        container_name: ${PROJECT_NAME}_adminer
        image: adminer
        restart: always
        links:
            - mysql
        ports:
            - 6080:8080
        environment:
            ADMINER_DESIGN: 'pepa-linha'
            ADMINER_DEFAULT_SERVER: mysql

    # redis
    redis:
        container_name: ${PROJECT_NAME}_redis
        image: redis:alpine

    # redis commander 
    redis-commander:
        container_name: ${PROJECT_NAME}_redis_commander
        hostname: redis-commander
        image: rediscommander/redis-commander:latest
        restart: always
        links:
            - redis
        environment:
            - REDIS_HOST=redis
            - REDIS_PORT=6379
        ports:
            - 6081:8081

    # mailhog       
    mailhog:
        container_name: ${PROJECT_NAME}_mailhog
        image: mailhog/mailhog
        ports: 
            - 1025:1025
            - 6082:8025

My Dockerfile is as follows:

FROM php:7.4-fpm-alpine
RUN apk add --no-cache 
        zip 
        libzip-dev 
        libpng 
        libpng-dev 
        libjpeg 
        icu 
        icu-dev 
        libxml2 
        libxml2-dev 
        git 
        openssl 
        openssl-dev 
RUN docker-php-ext-install 
        pdo_mysql 
        mysqli 
        gd 
        intl 
        xml 
        opcache 
    pcntl 
    bcmath 
        zip 

ENV PHPREDIS_VERSION 3.0.0

RUN mkdir -p /usr/src/php/ext/redis 
    && curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 
    && echo 'redis' >> /usr/src/php-available-exts 
    && docker-php-ext-install redis

RUN curl -sS https://getcomposer.org/installer | php ;mv composer.phar /usr/local/bin/composer;
RUN composer global require laravel/installer

ENV PATH="/root/.composer/vendor/bin:${PATH}"

RUN composer global require hirak/prestissimo
RUN composer global require phpunit/phpunit

RUN apk add --update nodejs 
RUN apk add --update npm 
RUN apk add yarn

Without Docker I would typically run php artisan websockets:serve on my host machine, how can I achieve similar result within a Docker container?

Source: StackOverflow