Skip to content

Commit 0eb310a

Browse files
authored
Merge pull request #14 from linuxserver/queue
Add queue service
2 parents b0ee245 + 536409c commit 0eb310a

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Find us at:
1212
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
1313
* [IRC](https://irc.linuxserver.io) - on freenode at `#linuxserver.io`. Our primary support channel is Discord.
1414
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
15-
* [Podcast](https://podcast.linuxserver.io) - on hiatus. Coming back soon (late 2018).
15+
* [Podcast](https://anchor.fm/linuxserverio) - on hiatus. Coming back soon (late 2018).
1616

1717
# PSA: Changes are happening
1818

@@ -136,6 +136,7 @@ This image now supports password protection through htpasswd. Run the following
136136

137137
## Versions
138138

139+
* **31.10.18:** - Add queue service.
139140
* **17.10.18:** - Symlink avatars folder.
140141
* **16.10.18:** - Updated fastcgi_params for user login support.
141142
* **07.10.18:** - Symlink `.env` rather than copy. It now resides under `/config/www`

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ app_setup_block: |
4747
4848
# changelog
4949
changelogs:
50+
- { date: "31.10.18:", desc: "Add queue service." }
5051
- { date: "17.10.18:", desc: "Symlink avatars folder." }
5152
- { date: "16.10.18:", desc: "Updated fastcgi_params for user login support." }
5253
- { date: "07.10.18:", desc: "Symlink `.env` rather than copy. It now resides under `/config/www`" }

root/etc/cont-init.d/50-config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ mkdir -p \
77
# copy .env if not exists
88
[[ ! -f /config/www/.env ]] && \
99
cp /var/www/localhost/heimdall/.env /config/www/.env
10+
# set queue driver to database
11+
sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env
1012

1113
# create symlinks
1214

root/etc/services.d/queue/run

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
exec \
4+
s6-setuidgid abc php /var/www/localhost/heimdall/artisan queue:work database --sleep=3 --tries=3

0 commit comments

Comments
 (0)