Parameterize deployment scripts
The docs at https://git.astron.nl/astron-sdc/esap-api-gateway/-/wikis/Build-&-Deploy-ESAP/Production-mode-(localhost) describe “install” and “run” scripts that insist on dumping the ESAP source at a specific location on the filesystem. This might work for some people, but not for others. It should be configurable.
Furthermore, following those docs make it very hard to stop a running ESAP — since the scripts don't call docker-compose down
the user has to manually specify the ESAP_SHARED
and ESAP_ROOT
variables on the command line.
Please make all this configurable, and make it possible to simply type docker-compose down
.