1
0
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:
x86dev
2017-02-21 23:50:51 +01:00
parent d7247f6861
commit 72f562e36c
7 changed files with 30 additions and 20 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/with-contenv sh
exec nginx

View File

@@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/with-contenv sh
exec php-fpm

View File

@@ -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

View File

@@ -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