-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello again nextPYP Developers,
I just wanted to leave another quick suggestion for how nextPYP is set up. From an operational perspective, it would likely be a lot easier to deal with the web app portion of nextPYP if it were containerized using Docker instead of Singularity. My reasoning on this point is that Docker is much better suited for web applications due to its support for network namespacing and its ability to manipulate iptables rules. Singularity, in contrast, looks to be much more oriented towards batch computing and non-interactive applications.
Additionally, Docker has a deployment/testing mechanism (docker-compose) that is a bit more intuitive and reproducible when deploying web applications. docker-compose codifies port mappings, storage volumes, etc using a YAML file and allows you to reliably bring up an application without needing to deal with an installer script, systemd units or the underlying container runtime.
I've seen docker-compose used with some success in SmartScope and I believe that it would work well here too.
--John