"samesite" => "Strict" // Strict SameSite policy for better protection against CSRF attacks ]); } else { setcookie($key, $value, [ "expires" => time() + (86400 * 90), // Sets cookie to expire in 90 days "path" => "/", "domain" => "$domain", "secure" => true, CURLOPT_ENCODING => "", CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:116.0) Gecko/20100101 Firefox/116.0", // For a normal Windows 10 PC running Firefox x64 CURLOPT_IPRESOLVE => CURL_IPRESOLVE_WHATEVER, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP, CURLOPT_MAXREDIRS => 5, CURLOPT_TIMEOUT => 3, CURLOPT_VERBOSE => false, CURLOPT_FOLLOWLOCATION => true ) ); ?> services: librey: image: ghcr.io/ahwxorg/librey:latest container_name: