Open ppolischuk opened 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
This is currently on staging
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.