Skip to content

Instantly share code, notes, and snippets.

@imvaskii
Created March 14, 2019 15:40
Show Gist options
  • Save imvaskii/e9e44389c758d98da5b07dadbbb9a658 to your computer and use it in GitHub Desktop.
Save imvaskii/e9e44389c758d98da5b07dadbbb9a658 to your computer and use it in GitHub Desktop.
Docker Compose file for portainer.
version: '3.5'
services:
portainer:
image: portainer/portainer
ports:
- "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