MassBank / MassBank-web

The web server application and directly connected components for a MassBank web server
14 stars 22 forks source link

Refine MassBank-web deployment #169

Closed Treutler closed 5 years ago

Treutler commented 5 years ago

Tobias and me have the feeling that the deployment of MassBank.eu could be refined in two ways:

meier-rene commented 5 years ago

Full Agreement. We need to select automatic rollout mechanism and than I can prepare the respective files.

For the development server I use vagrant and @sneumann has configured our apache to redirect all traffic from a specific URL to this system.

As far as I know @tsufz is running just one system and it would be rather complicated for you to organize another system. This means rollout of several vagrant provisioned vms is not the best easiest possibility for you.

That's why I propose, that I create an automatic docker-compose rollout mechanism similar to our dev rollouts(In fact its more or less finished). These container can happily coexist on one machine and we can just use Tobias' existing infrastructure.

@tsufz Could you please tell me how the traffic from https://massbank.eu/MassBank/ gets redirected to your server system? Do you think its easily possible for you to change this redirection mechanism to point to a new rollout of MassBank on a regular basis? Or do we need to put another redirection in between?

tsufz commented 5 years ago

I have two systems. They are clones and I test updates first on the internal server. I cannot setup a second server in the accessible sector, thus the second runs on the internal cluster.

n docker instances sound cool, might be the way to run embargo DBs. I send you the apache file which still redirects the requests.

meier-rene commented 5 years ago

I have implemented a easy deployment method and updated the documentation. With this new method its possible to install completely independent MassBank-instances in separated subnets within docker with just a single command. Our development server is using this method now. @tsufz , you can directly use your existing systems for massbank.eu, because they should already meet all the requirements. I'm closing this now. In case of any problems contact me by email or reopen.