updated invidious

This commit is contained in:
nihilist 2024-03-18 18:02:50 +01:00
parent d120c9617c
commit e43d5a24bf

View File

@ -2,7 +2,14 @@
0 0,6,12,18 * * * docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d
#@hourly docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d
@weekly docker-compose -f /srv/invidious/docker-compose.yml down --remove-orphans ; cp /srv/invidious/docker-compose.yml /srv/invidious.docker-compose.yml.backup ; git -C /srv/invidious reset --hard; git -C /srv/invidious pull ; cp /srv/invidious.docker-compose.yml.backup /srv/invidious/docker-compose.yml ; docker image prune -f ; docker-compose -f /srv/invidious/docker-compose.yml pull ;docker-compose -f /srv/invidious/docker-compose.yml up -d --build --force-recreate # monthly invidious upgrade!
@daily /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py clean ; /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range="IPV6RANGE::/64"
@weekly docker-compose -f /srv/invidious/docker-compose.yml down --remove-orphans ; cp /srv/invidious/docker-compose.yml /srv/invidious.docker-compose.yml.backup ; git -C /srv/invidious reset --hard; git -C /srv/invidious pull ; cp /srv/invidious.docker-compose.yml.backup /srv/invidious/docker-compose.yml ; docker image prune -f ; docker-compose -f /srv/invidious/docker-compose.yml pull ;docker-compose -f /srv/invidious/docker-compose.yml up -d --build --force-recreate # weekly invidious upgrade!
0 0,6,12,18 * * * /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py clean ; /usr/bin/python3 /srv/smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range="IPV6RANGE::/64" ; docker-compose -f /srv/invidious/docker-compose.yml stop ; docker-compose -f /srv/invidious/docker-compose.yml up -d
0 */1 * * * docker restart invidious_invidious_1 ; docker restart invidious_invidious_6
1 */1 * * * docker restart invidious_invidious_2 ; docker restart invidious_invidious_7
2 */1 * * * docker restart invidious_invidious_3 ; docker restart invidious_invidious_8
3 */1 * * * docker restart invidious_invidious_4 ; docker restart invidious_invidious_9
4 */1 * * * docker restart invidious_invidious_5 ; docker restart invidious_invidious_10
5 */1 * * * docker restart invidious_invidious_6 ; docker restart invidious_invidious_11