laravel-eureka maintained by wjezowski
Description
Eureka starter pack for Laravel
Author
Last update
2021/12/13 21:32
(dev-master)
License
Downloads
26
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!