laravel-eureka maintained by trungtnm
Description
Eureka starter pack for Laravel
Author
Last update
2023/09/29 11:04
(dev-master)
License
Downloads
0
Tags
Installation
- Add
wjezowski/laravel-eurekato your composer.json as requirement - Add to your "providers" array in config/app.php this line:
Wjezowski\LaravelEureka\LaravelEurekaProvider::class - Your environment should provide variables:
-
- EUREKA_SERVICE_URL - url used to doing heartbeat
-
- SERVICE_IP - app ip
-
- SERVICE_PORT - app port
- Run
php artisan eureka:run-heartbeatin your app. I use supervisord for this. - That's all! Great job!