Created
January 17, 2020 11:51
-
-
Save AvasDream/726662adc01d95eb17f4fe2a2de91fae to your computer and use it in GitHub Desktop.
Docker registry Setup with wui
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-api: | |
image: registry:2 | |
container_name: registry-api | |
ports: | |
- 5000:5000 | |
restart: always | |
volumes: | |
- registry-data:/var/lib/registry | |
registry-wui: | |
image: atcol/docker-registry-ui | |
container_name: registry-wui | |
restart: always | |
ports: | |
- 8080:8080 | |
environment: | |
REG1: registry-api | |
# WUI alternative | |
#registry-wui: | |
# image: konradkleine/docker-registry-frontend:v2 | |
# container_name: registry-wui | |
# restart: always | |
# ports: | |
# - 8080:8080 | |
# environment: | |
# ENV_DOCKER_REGISTRY_HOST: registry-api | |
# ENV_DOCKER_REGISTRY_PORT: 5000 | |
volumes: | |
registry-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment