Created
August 22, 2017 11:35
-
-
Save ajeetraina/06aa92a1d31dff017475782859d63330 to your computer and use it in GitHub Desktop.
Running Hybrid Docker Swarm Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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