Created
March 14, 2018 22:52
-
-
Save sixeyed/27336591a021f9de8c44123969586f75 to your computer and use it in GitHub Desktop.
The simplest Windows stack to run in a Docker swarm
This file contains hidden or 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.3' | |
services: | |
web: | |
image: microsoft/iis:nanoserver | |
networks: | |
- app-net | |
ports: | |
- mode: host | |
target: 80 | |
published: 80 | |
deploy: | |
endpoint_mode: dnsrr | |
placement: | |
constraints: | |
- node.platform.os == windows | |
networks: | |
app-net: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment