CrossRef / cayenne

MOVED to https://gitlab.com/crossref/rest_api
https://gitlab.com/crossref/rest_api
MIT License
17 stars 9 forks source link

Prepare elastic staging instance #79

Open ppolischuk opened 5 years ago

ppolischuk commented 5 years ago

DRAFT

Need to work up what commands need to be run to run the full system with all various roles. Docker service commands and configuration, change HAProxy endpoint, Change the pusher so it’s updated. And also need to take down the staging and clear out that elasticsearch machine and reuse it. Take down the cayenne staging instance and reuse the elastic service, assuming we get it deployed into Docker.

afandian commented 5 years ago

Event Data HAProxy in Docker Swarm: https://github.com/CrossRef/event-data-deploy/blob/master/hetzner/static/docker/backend.yml#L505

And the HAProxy config: https://github.com/CrossRef/event-data-deploy/blob/master/hetzner/static/haproxy.cfg

If we want to rewrite request hostnames this looks useful: https://stackoverflow.com/questions/42970742/haproxy-dynamic-server-addresses

eshadatta-crossref commented 5 years ago

This is currently on staging