Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Queue to S6 Overlay 3.x standards #42

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/storage/*.key
/storage/logs
/vendor
/.git
_ide_helper.php
.env
.env.backup
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/scr

# Copy package configs
COPY docker/deploy/cron/scheduler /etc/cron.d/scheduler
COPY docker/deploy/etc/services.d/ /etc/services.d/
COPY --chmod=755 docker/deploy/etc/s6-overlay/ /etc/s6-overlay//

# Copy app
COPY . /var/www/html
Expand Down
2 changes: 2 additions & 0 deletions docker/deploy/etc/s6-overlay/s6-rc.d/queue-worker/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/command/execlineb -P
s6-setuidgid webuser php /var/www/html/artisan queue:work --tries=3 --no-ansi -q
1 change: 1 addition & 0 deletions docker/deploy/etc/s6-overlay/s6-rc.d/queue-worker/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.
7 changes: 0 additions & 7 deletions docker/deploy/etc/services.d/queue-worker/run

This file was deleted.