Skip to content

Instantly share code, notes, and snippets.

@sixeyed
Created March 14, 2018 22:52
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 sixeyed/27336591a021f9de8c44123969586f75 to your computer and use it in GitHub Desktop.
Save sixeyed/27336591a021f9de8c44123969586f75 to your computer and use it in GitHub Desktop.
The simplest Windows stack to run in a Docker swarm
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