function() { return new DI\Container([ 'host' => $_ENV['MYSQL_HOST'], 'name' => $_ENV['MYSQL_DATABASE'], 'user' => function() { return new DI\Container([ 'name' => $_ENV['MYSQL_USER'], 'password' => $_ENV['MYSQL_PASSWORD'] ]); }, 'table' => $_ENV['MYSQL_TABLE'] ?? 'remote_ip', ]); }, 'error_logs_file' => $_ENV['ERROR_LOGS_FILE'] ?? '/logs/remote.error.log', 'debug_logs_file' => $_ENV['DEBUG_LOGS_FILE'] ?? '/logs/remote.debug.log', 'uri' => $_ENV['IPIFY_URI'] ?? 'https://api64.ipify.org', 'command' => 'php /app/public/index.php', 'period' => $_ENV['WATCH_PERIOD'] ?? 'PT20M', 'retries' => $_ENV['CONNECTION_RETRIES'] ?? 5 ];