Go to file
Kai Ton 49b97c6c4d add git config 2024-02-27 02:51:23 +00:00
.docker update docker 2024-02-27 02:50:39 +00:00
chrome-profiles add profiles for chrome 2024-02-27 02:50:54 +00:00
src update src 2024-02-27 02:51:00 +00:00
.env update document 2024-02-24 03:34:57 +00:00
.gitconfig add git config 2024-02-27 02:51:23 +00:00
README.md update document 2024-02-24 03:35:15 +00:00
docker-compose.yml update docker compose 2024-02-27 02:51:12 +00:00

README.md

Install

You should change the /src/.env.example file name to .env and run

docker network create laravel
docker compose up rabbitmq socketio -d

Clone container

.env

VERSION=1

run

docker compose up app -d

laravel-rabbitmq{VERSION}

laravel-rabbitmq1

PORT http://localhost:800{VERSION}

http://localhost:8001

Monitor

Version: 1

http://localhost:8001/horizon

Rabbitmq: rabbit/rabbit@123

http://localhost:15672

Test

Attach shell to Version1

docker exec -it laravel-rabbitmq1-app-1 bash

Test Job: src/app/Console/Commands/JobRun.php

php artisan job:run

Log

[!NOTE]

-f: file
--tail 10: Watch only see the last 10 lines

View log app

docker logs -f --tail 10 laravel-rabbitmq1-app-1

View log puppeteer

docker logs -f --tail 10 laravel-rabbitmq1-puppeteer-1