Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker Compose for demonstrating Swarm & Kubernetes Integration under Docker for Mac 17.12
version: "3"
services:
nginx:
image: nginx
ports:
- 82:80
- 444:443
deploy:
mode: replicated
replicas: 3
restart_policy:
condition: on-failure
delay: 30s
max_attempts: 3
window: 120s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment