sokrypton / ColabFold

Making Protein folding accessible to all!
MIT License
1.99k stars 499 forks source link

About MsaServer issue #551

Open zhoujingyu13687306871 opened 10 months ago

zhoujingyu13687306871 commented 10 months ago

Hi , I want to build MSA service through MsaServer inside ColabFold, and I want to let other users use localcolabfold to search MSA in the MSA service I built. but I'm having 3 problems.

1, I don't know how to make sure the MSA service is built successfully? Is there any easy way to test it?

2, About the ColabFold/MsaServer/config.json content, it is as follows:

{
    "app": "colabfold",
    "verbose": true,
    "server" : {
        // you might want to change the port
        "address"    : "127.0.0.0:80",
        "dbmanagment": false,
        "cors"       : true
    },

My server IP is 157.148.21.131, so do I need to change 127.0.0.0 to 157.148.21.131? Does the port always need to be set to 80,and is it possible to change it to another port?

3、To provide external service, do I need to change "ExecStart=/path-to-mmseqs-server-home/msa-server -local -config /path-to-mmseqs-server-home/config.json" in ColabFold/MsaServer/systemd-example-mmseqs-server.service to "ExecStart=/path-to-mmseqs-server-home/msa-server -server -config /path-to-mmseqs-server-home/config.json”

milot-mirdita commented 10 months ago

I recommend coordinating with your IT regarding your what network devices are exposed to the internet.

I would recommend to not expose the server directly to the internet (keep it bound to localhost) and put a reverse proxy (e.g. Nginx, Apache, or similar) in front of the server, especially since the MSA server doesn't deal with SSL encryption. However, I don't know your network architecture.