sql_hostname = "localhost"; $this->sql_dbname = "onetipp"; $this->sql_tablename = "servermanagement"; $this->sql_username = "root"; $this->sql_password = ""; $this->data_storepath = "/var/tmp/onetipp_data_storepath"; $this->wwwroot_storepath = "/home/www/tech.onetipp.net"; // Force Redownload of ClientManager.pl that runs inside Docker Image of Client Training Host $this->ForceClientManagerUpdate = array( // URL TO FETCH FROM ONETIPP SERVER => LOCAL STORE PATH IN CLIENT DOCKER IMAGE "https://tech.onetipp.net/train/ClientManager.pl.bz2" => "/var/tmp/onetipp/" ); // Force APT-GET and Software Update of Inside Docker Image Client Host $this->ForceInternalDockerImageAPTUpdate = array( "apt-get update -y;apt-get upgrade -y" => "{EXEC_COMMAND_INSTALL}", "pip install -U Chainer" => "{EXEC_COMMAND_INSTALL}", "pip3 install -U Chainer" => "{EXEC_COMMAND_INSTALL}", ); // Download latest Training Software -> one line one = one piece of software to download $this->ForceDeepLearningTrainingSoftwareUpdate = array( // URL TO FETCH FROM ONETIPP SERVER => LOCAL STORE PATH IN CLIENT DOCKER IMAGE "https://tech.onetipp.net/train/train.py.bz2" => "/var/tmp/onetipp/", "https://tech.onetipp.net/train/sample.py.bz2" => "/var/tmp/onetipp/", "https://tech.onetipp.net/train/CharRNN.py.bz2" => "/var/tmp/onetipp/", ); } // public function __construct() { public function ForceClientManagerUpdate(){ return $this->ForceClientManagerUpdate; } public function ForceInternalDockerImageAPTUpdate(){ return $this->ForceInternalDockerImageAPTUpdate; } public function ForceDeepLearningTrainingSoftwareUpdate(){ return $this->ForceDeepLearningTrainingSoftwareUpdate; } public function sql_hostname(){ return $this->sql_hostname; } public function sql_dbname(){ return $this->sql_dbname; } public function sql_tablename(){ return $this->sql_tablename; } public function sql_username(){ return $this->sql_username; } public function sql_password(){ return $this->sql_password; } public function data_storepath(){ return $this->data_storepath; } public function wwwroot_storepath(){ return $this->wwwroot_storepath; } } ?>