Created
March 13, 2019 05:26
-
-
Save theeluwin/f44d11b9f2fbff632dd3a0f91107d627 to your computer and use it in GitHub Desktop.
docker registry + 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" | |
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