Warning
Version 2 (Microservice edition) for football-betting | no longer current, we have developed something new
Run the following command to start the setup and initialize all services
./init.sh
You can access the apps now on
App | Url |
---|---|
Api | http://localhost:8080 |
Frontend | http://localhost:8084 |
Rabbit MQ Admin | http://localhost:8088 |
Redis Commander | http://localhost:8089 |
git submodule update --recursive --remote
docker-compose exec php-fpm bash
cd /data-match-api && php bin/console football:matches
cd /data-match/ && php bin/console messenger:consume match.api.to.match
cd /data-calculation-list && php bin/console messenger:consume match.to.calculation
cd /data-calculation-list && php bin/console messenger:consume tip.list.to.calculation
cd /data-api && php bin/console messenger:consume calculation.to.app
cd /data-tips && php bin/console messenger:consume app.to.tip
cd /data-match/ && php bin/console messenger:consume match.api.to.match --no-interaction --time-limit=0.1 > /dev/null 2>&1
cd /data-calculation-list && php bin/console messenger:consume match.to.calculation --no-interaction --time-limit=0.1 > /dev/null 2>&1
cd /data-calculation-list && php bin/console messenger:consume tip.list.to.calculation --no-interaction --time-limit=0.1 > /dev/null 2>&1
cd /data-api && php bin/console messenger:consume calculation.to.app --no-interaction --time-limit=0.1 > /dev/null 2>&1
cd /data-tips && php bin/console messenger:consume app.to.tip --no-interaction --time-limit=0.1 > /dev/null 2>&1