2 ms·
I do blue-green deploys with Docker and I deploy the services as “app-1”, “app-2”, “app-3”, etc.
by MuffinFlavored 7y ago
I do blue-green deploys with Docker and I deploy the services as “app-1”, “app-2”, “app-3”, etc.
- Nullabillity 7y agoHow do you route dependencies to the correct service? If you're using a stack then you end up needing to blue-green the whole thing, if you're not then you still need to blue-green the whole dependent subset of the dependency graph. And for anything exposed outside of the swarm you'd need to use some reverse proxy, since only one service (in the whole swarm) can bind a port at any one time.
- MuffinFlavored 7y ago> How do you route dependencies to the correct service? Reload the nginx config with proxy_pass switch from blue -> green or green -> blue.