Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
54e6d66c
Commit
54e6d66c
authored
Mar 30, 2018
by
Dearmadman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feature] support for php worker hot load
parent
8a090f3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
docker-compose.yml
docker-compose.yml
+2
-0
supervisord.conf
php-worker/supervisord.conf
+2
-7
laravel-worker.conf
php-worker/supervisord.d/laravel-worker.conf
+7
-0
No files found.
docker-compose.yml
View file @
54e6d66c
...
...
@@ -123,6 +123,8 @@ services:
-
INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
volumes_from
:
-
applications
volumes
:
-
./php-worker/supervisord.d:/etc/supervisord.d
depends_on
:
-
workspace
extra_hosts
:
...
...
php-worker/supervisord.conf
View file @
54e6d66c
...
...
@@ -6,10 +6,5 @@ port = 127.0.0.1:9001
[
rpcinterface
:
supervisor
]
supervisor
.
rpcinterface_factory
=
supervisor
.
rpcinterface
:
make_main_rpcinterface
[
program
:
laravel
-
worker
]
process_name
=%(
program_name
)
s_
%(
process_num
)
02
d
command
=
php
/
var
/
www
/
artisan
queue
:
work
--
sleep
=
3
--
tries
=
3
--
daemon
autostart
=
true
autorestart
=
true
numprocs
=
8
redirect_stderr
=
true
[
include
]
files
=
supervisord
.
d
/*.
conf
\ No newline at end of file
php-worker/supervisord.d/laravel-worker.conf
0 → 100644
View file @
54e6d66c
[
program
:
laravel
-
worker
]
process_name
=%(
program_name
)
s_
%(
process_num
)
02
d
command
=
php
/
var
/
www
/
artisan
queue
:
work
--
sleep
=
3
--
tries
=
3
--
daemon
autostart
=
true
autorestart
=
true
numprocs
=
8
redirect_stderr
=
true
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment