Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Running Hybrid Docker Swarm Application
version: "3"
services:
redis:
image: redis:3.2.100-nanoserver
deploy:
placement:
constraints: [node.platform.os == windows]
web:
image: radumatei/python-web
deploy:
placement:
constraints: [node.platform.os == linux]
ports:
- "80:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment