Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Created August 22, 2017 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajeetraina/06aa92a1d31dff017475782859d63330 to your computer and use it in GitHub Desktop.
Save ajeetraina/06aa92a1d31dff017475782859d63330 to your computer and use it in GitHub Desktop.
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