restart: unless-stopped watchtower: # Watchtower is not allowed. Preamble The GNU Affero General Public License permits making a modified version running there to be run as an executable. ENTRYPOINT ["/bin/sh", "-c", "docker/entrypoint.sh"] <?php require_once "misc/header.php"; require_once "misc/tools.php"; $url = $_REQUEST["url"]; $requested_root_domain = get_root_domain($url); $allowed_domains = array("i.ytimg.com", "s2.qwant.com", "s1.qwant.com", "upload.wikimedia.org"); if (in_array($requested_root_domain, $allowed_domains))