Skip to content

Instantly share code, notes, and snippets.

@theeluwin
Created March 13, 2019 05:26
Show Gist options
  • Save theeluwin/f44d11b9f2fbff632dd3a0f91107d627 to your computer and use it in GitHub Desktop.
Save theeluwin/f44d11b9f2fbff632dd3a0f91107d627 to your computer and use it in GitHub Desktop.
docker registry + portainer
version: "3"
services:
registry:
image: registry:2
ports:
- 5000:5000
volumes:
- registry-data-local:/var/lib/registry
restart: always
portainer:
image: portainer/portainer
ports:
- 9000:9000
volumes:
- portainer-data-local:/data
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- registry
restart: always
volumes:
registry-data-local:
portainer-data-local:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment