We're trying to hoist up multiple instances of Prodigy at once on a single URL so that people can annotate multiple datasets without needing to restart Prodigy. Our approach is to serve multiple Docker images running different Prodigy
ner.make-gold commands in a network, and communicate to all of them via a nginx reverse-proxy, serving
host.com/dataset-name/ to each instance.
The nginx configuration for this is simple, but it depends on support in Prodigy for the
url_prefix argument being passed to
waitress.serve(), and then for the frontend to be aware of this and use the prefix for REST commands.
Is this something you could support? Alternatively, if you have any better ideas for how to accomplish what we're doing, I'd love to hear them.