Created
September 15, 2017 14:06
-
-
Save Riduidel/07bf1925578d8fbe4eaca9e385cfb366 to your computer and use it in GitHub Desktop.
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: '2' | |
| services: | |
| registrator: | |
| image: gliderlabs/registrator:master | |
| network_mode: host | |
| volumes: | |
| - /var/run/docker.sock:/tmp/docker.sock | |
| tty: true | |
| restart: always | |
| command: | |
| - -internal | |
| - -cleanup | |
| - -deregister | |
| - always | |
| - -resync=60 | |
| - -useIpFromLabel | |
| - io.rancher.container.ip | |
| - consul://localhost:8500 | |
| labels: | |
| io.rancher.container.dns: 'true' | |
| io.rancher.container.hostname_override: container_name | |
| io.rancher.scheduler.global: 'true' | |
| io.rancher.container.network: 'false' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment