mirror of
https://github.com/x86dev/docker-ttrss
synced 2025-12-13 09:56:02 +00:00
Now based on Alpine Linux and s6 as supervisor, resulting in a much smaller Docker image. See README.md for details and other additions.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/with-contenv sh
|
||||
exec nginx
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/with-contenv sh
|
||||
exec php-fpm
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
while true; do
|
||||
cd /var/www/ttrss
|
||||
php -f /var/www/ttrss/update_daemon2.php
|
||||
exec s6-setuidgid www-data php -f /var/www/ttrss/update_daemon2.php
|
||||
sleep 5m
|
||||
done
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
while true; do
|
||||
/srv/update-ttrss.sh
|
||||
sleep 24h
|
||||
done
|
||||
#!/usr/bin/with-contenv sh
|
||||
sleep 24h
|
||||
exec s6-setuidgid www-data /srv/update-ttrss.sh --wait-exit 24h
|
||||
|
||||
Reference in New Issue
Block a user