This repository was archived by the owner on Feb 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +51
-1
lines changed Expand file tree Collapse file tree 5 files changed +51
-1
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ Homestead.json
1313.idea /
1414.DS_Store
1515.phpunit.result.cache
16+ docker /mysql /
Original file line number Diff line number Diff line change 22
33namespace App \Exceptions ;
44
5- use Throwable ;
65use Illuminate \Auth \AuthenticationException ;
76use Illuminate \Foundation \Exceptions \Handler as ExceptionHandler ;
7+ use Throwable ;
88
99/**
1010 * Class Handler.
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -x # echo on
4+
5+ docker-compose -f docker-compose.yml exec app /bin/bash
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ while [ true ]
4+ do
5+ php /var/www/html/artisan schedule:run --quiet --no-interaction &
6+ sleep 60
7+ done
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+ services :
3+ app :
4+ image : joselfonsecadt/nginx-php7.4-dev:latest
5+ volumes :
6+ - ./:/var/www/html
7+ ports :
8+ - 80:80
9+ networks :
10+ - api
11+ scheduler :
12+ image : joselfonsecadt/nginx-php7.4-dev:latest
13+ command : ./var/www/html/bin/run-scheduler.sh
14+ volumes :
15+ - ./:/var/www/html
16+ networks :
17+ - api
18+ mysql :
19+ image : mysql:5.7
20+ environment :
21+ MYSQL_ROOT_PASSWORD : secret
22+ MYSQL_DATABASE : api
23+ volumes :
24+ - ./docker/mysql/data/:/var/lib/mysql
25+ ports :
26+ - 3306:3306
27+ networks :
28+ - api
29+ redis :
30+ image : redis:5-alpine
31+ ports :
32+ - 6379:6379
33+ networks :
34+ - api
35+ networks :
36+ api :
37+ driver : bridge
You can’t perform that action at this time.
0 commit comments