* * * * * docker run --rm your-container /home/user/task.sh
Curl::setCurl()->setProxy(null);
// Подключение прокси (HTTPS/SOCKS5)
public function setProxy($proxy = null, $proxy_type = null)
{
$this->proxy = $proxy;
$this->proxy_type = $proxy_type;
}
public function clearProxy()
{
$this->proxy = null;
}