Compare commits

...

6 Commits

Author SHA1 Message Date
aptalca
0eb310aa07 Merge pull request #14 from linuxserver/queue
Add queue service
2018-11-01 16:32:54 -04:00
aptalca
536409cf5f set queue driver to database 2018-10-31 18:32:55 -04:00
aptalca
3f642a6dc8 update readme 2018-10-31 20:47:03 +00:00
aptalca
270d9753f7 add queue service 2018-10-31 16:36:17 -04:00
aptalca
b0ee245e54 Merge pull request #13 from linuxserver/avatars
Symlink avatars folder
2018-10-17 17:18:35 -04:00
aptalca
db4c2697b6 Symlink avatars folder 2018-10-13 14:50:22 +00:00
4 changed files with 15 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ Find us at:
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
* [IRC](https://irc.linuxserver.io) - on freenode at `#linuxserver.io`. Our primary support channel is Discord.
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
* [Podcast](https://podcast.linuxserver.io) - on hiatus. Coming back soon (late 2018).
* [Podcast](https://anchor.fm/linuxserverio) - on hiatus. Coming back soon (late 2018).
# PSA: Changes are happening
@@ -136,7 +136,9 @@ This image now supports password protection through htpasswd. Run the following
## Versions
* **16.10.18:** - Updated fastcgi_params for user login support
* **31.10.18:** - Add queue service.
* **17.10.18:** - Symlink avatars folder.
* **16.10.18:** - Updated fastcgi_params for user login support.
* **07.10.18:** - Symlink `.env` rather than copy. It now resides under `/config/www`
* **30.09.18:** - Multi-arch image. Move `.env` to `/config`.
* **05.09.18:** - Rebase to alpine linux 3.8.

View File

@@ -47,7 +47,9 @@ app_setup_block: |
# changelog
changelogs:
- { date: "16.10.18:", desc: "Updated fastcgi_params for user login support" }
- { date: "31.10.18:", desc: "Add queue service." }
- { date: "17.10.18:", desc: "Symlink avatars folder." }
- { date: "16.10.18:", desc: "Updated fastcgi_params for user login support." }
- { date: "07.10.18:", desc: "Symlink `.env` rather than copy. It now resides under `/config/www`" }
- { date: "30.09.18:", desc: "Multi-arch image. Move `.env` to `/config`." }
- { date: "05.09.18:", desc: "Rebase to alpine linux 3.8." }

View File

@@ -2,15 +2,18 @@
# make our folders
mkdir -p \
/config/www/{backgrounds,icons}
/config/www/{backgrounds,icons,avatars}
# copy .env if not exists
[[ ! -f /config/www/.env ]] && \
cp /var/www/localhost/heimdall/.env /config/www/.env
# set queue driver to database
sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env
# create symlinks
symlinks=( \
/var/www/localhost/heimdall/storage/app/public/avatars \
/var/www/localhost/heimdall/storage/app/public/backgrounds \
/var/www/localhost/heimdall/storage/app/public/icons \
/var/www/localhost/heimdall/database/app.sqlite \

View File

@@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bash
exec \
s6-setuidgid abc php /var/www/localhost/heimdall/artisan queue:work database --sleep=3 --tries=3