<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Duarte,</p>
<p>Thanks for your email.</p>
<p>From my perspective, the installation procedure is (sort of) OK:
there are a few minor inaccuracies (e.g. expected directory
structure, PERL5LIB setup) and sub-optimal steps (e.g. Tabix, use
of cpanm instead of pre-compiled packages), but not essential
ones.</p>
<p>Carried it out, just in case, and can confirm I could fire up a
REST server instance in both a VM and Docker container.<br>
TBH, I started from scratch, as not familiar with <a
href="https://github.com/genomehubs/ensembl-rest-docker"
class="moz-txt-link-freetext">https://github.com/genomehubs/ensembl-rest-docker</a></p>
<p>This said, I am not sure I can bless and recommend your approach.<br>
To achieve speed, you may also want to have fast connection to the
underlying DBs; not to mention good tuning and configuration of
the web server.<br>
Deployment of REST server in a Production environment is not a
trivial task.</p>
<p>However, I am not aware of the specificities of your use case(s)
and environment, and can hardly advise.</p>
<p>Finally, please find attached the Dockerfile I used, which -
although neither complete nor optimised - may serve you as a
reference.</p>
<p>Best wishes,</p>
<p>Stefano<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 25/04/2023 11:16, Duarte Molha
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGqkoEKWGU20khUGiyzJr_en0uA+8sr8-NpHxqbsydwpPEXv8A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div>I have tried unsuccessfully to create a ENSEMBL REST
server docker container to run locally on my
locally installed ensembl database.</div>
<div><br>
</div>
<div>I tried to follow the instructions here:<br>
<br>
<a
href="https://github.com/Ensembl/ensembl-rest/wiki/REST-Installation-and-Development"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/Ensembl/ensembl-rest/wiki/REST-Installation-and-Development</a><br>
<br>
It has not worked.<br>
<br>
The links for Catalyst are broken:</div>
<ul
style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe
UI","Noto
Sans",Helvetica,Arial,sans-serif,"Apple Color
Emoji","Segoe UI Emoji";font-size:16px">
<li style="box-sizing:border-box"><a
href="http://wiki.catalystframework.org/wiki/installation"
rel="nofollow"
style="box-sizing:border-box;background-color:transparent;text-decoration-line:none"
moz-do-not-send="true" class="moz-txt-link-freetext">http://wiki.catalystframework.org/wiki/installation</a> (basic)</li>
<li style="box-sizing:border-box;margin-top:0.25em"><a
href="http://wiki.catalystframework.org/wiki/installingcatalyst"
rel="nofollow"
style="box-sizing:border-box;background-color:transparent;text-decoration-line:none"
moz-do-not-send="true" class="moz-txt-link-freetext">http://wiki.catalystframework.org/wiki/installingcatalyst</a> (advanced)<br>
</li>
</ul>
<div><font face="-apple-system, BlinkMacSystemFont, Segoe UI,
Noto Sans, Helvetica, Arial, sans-serif, Apple Color
Emoji, Segoe UI Emoji" color="#1f2328"><span
style="font-size:16px">I am able to install it by using
CPAN, but it might be part of why I have been
unsuccessful.<br>
<br>
I forked a github project that tries to do this:<br>
<br>
</span></font><a
href="https://github.com/genomehubs/ensembl-rest-docker"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/genomehubs/ensembl-rest-docker</a><br>
<font face="-apple-system, BlinkMacSystemFont, Segoe UI,
Noto Sans, Helvetica, Arial, sans-serif, Apple Color
Emoji, Segoe UI Emoji" color="#1f2328"><span
style="font-size:16px"><br>
and modified it to work with human species...<br>
<br>
</span></font><a
href="https://github.com/duartemolha/ensembl-rest-docker"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/duartemolha/ensembl-rest-docker</a><br>
<br>
But it still is not working</div>
<div><br>
</div>
<div>Either some hints on what is wrong with my code or
(better yet) a pre-build version of your rest server
containerised would be greatly appreciated<br>
<br>
The main reason I am doing this is because I am developing
some apps that I will want to do many (fast) queries and I
do not want to rely on ensembl servers to get this as I will
be rate limited pretty sharpish :)<br>
<br>
Many thanks</div>
<div><br>
</div>
<div>Duarte</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dev mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
</blockquote>
</body>
</html>