run.sh

#!/bin/bash
#php test.php
php sendSysNewsSmsJob.php 2>&1 &
php sendSysNewsWxJob.php 2>&1 &
php sendSysMessageJobApply.php  2>&1 & 
while true; do sleep 30; done

docker-compose.yml

command: ['sh','/data/online_study_mq_60/run.sh']