diff --git a/services/torrents/config/updateMaMIP b/services/torrents/config/updateMaMIP new file mode 100755 index 0000000..0d67c39 --- /dev/null +++ b/services/torrents/config/updateMaMIP @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -f /config/mam.cookies ] || exit 1 +curl -c /config/mam.cookies -b /config/mam.cookies https://t.myanonamouse.net/json/dynamicSeedbox.php diff --git a/services/torrents/docker-compose.yml b/services/torrents/docker-compose.yml index 3cd02b2..93d9f13 100644 --- a/services/torrents/docker-compose.yml +++ b/services/torrents/docker-compose.yml @@ -29,6 +29,7 @@ services: - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/98-gateway-setup:/etc/cont-init.d/98-gateway-setup:ro - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/99-cron-start:/etc/cont-init.d/99-cron-start:ro - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/setPortForward:/etc/periodic/1min/setPortForward:ro + - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/config/updateMaMIP:/etc/periodic/hourly/updateMaMIP:ro # Secrets - ${NASCOMPOSE_SERVICES?}/torrents${TORRENT_SUFFIX?}/secrets/wg0.conf:/config/wireguard/wg0.conf:ro restart: unless-stopped