Created
April 16, 2020 11:02
-
-
Save dbene/f7d7992d054f1df8d46dabe76067b941 to your computer and use it in GitHub Desktop.
portainer compose
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: '2' | |
services: | |
portainer: | |
image: portainer/portainer | |
restart: unless-stopped | |
ports: | |
- "127.0.0.1:9000:9000" | |
command: -H unix:///var/run/docker.sock | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- portainer_data:/data | |
volumes: | |
portainer_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment