Last active
January 16, 2018 19:27
-
-
Save jmcarbo/498ed8bab95bab40eef7716d25b29e7c to your computer and use it in GitHub Desktop.
portainer
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.4' | |
services: | |
portainer: | |
image: portainer/portainer | |
command: -H unix:///var/run/docker.sock -t https://raw.githubusercontent.com/jmcarbo/templates/master/templates.json --no-auth | |
ports: | |
- "9000" | |
networks: | |
- portainer-net | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- portainer:/data | |
deploy: | |
mode: replicated | |
replicas: 1 | |
placement: | |
constraints: [node.role == manager] | |
volumes: | |
portainer: | |
networks: | |
portainer-net: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment