Skip to content

- run laravel horizon in docker, install supervisor and run horizon using supervisor daemon.

Notifications You must be signed in to change notification settings

ramonov/docker-horizon-supervisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Horizon with Docker and supervisor

This is an example for laravel horizon using docker.

How to use?

Clone this repository.

git clone https://github.com/ramonov/docker-horizon-supervisor.git

Copy env configuration file.

cp code/.env.example code/.env

Make sure you have been install docker and docker-compose. Then run this command to create all necessary containers

make up-build 

Install dependencies for laravel

make install-dependency

Check laravel status from browser and generate key for laravel config.

make open

Install laravel Horizon and after command run completely check for horizon dashboard page at browser.

make install-horizon

Start Supervisor service and let supervisor daemon read the config ie. ./build/supervisor/conf.d/horizon.conf. lastly start horizon with supervisor service. Horizon dashboard shall show active status

make supervisor-horizon

About

- run laravel horizon in docker, install supervisor and run horizon using supervisor daemon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published