File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1070,6 +1070,35 @@ services:
10701070 networks :
10711071 - backend
10721072
1073+ # ## DOCKER-REGISTRY ################################################
1074+ docker-registry :
1075+ build :
1076+ context : ./docker-registry
1077+ volumes :
1078+ - /etc/localtime:/etc/localtime:ro
1079+ - ${DATA_PATH_HOST}/docker-registry:/var/lib/registry
1080+ ports :
1081+ - " ${DOCKER_REGISTRY_PORT}:5000"
1082+ networks :
1083+ - backend
1084+
1085+ # ## DOCKER-WEB-UI ################################################
1086+ docker-web-ui :
1087+ build :
1088+ context : ./docker-web-ui
1089+ environment :
1090+ - TZ=${WORKSPACE_TIMEZONE}
1091+ - ENV_DOCKER_REGISTRY_HOST=${DOCKER_WEBUI_REGISTRY_HOST}
1092+ - ENV_DOCKER_REGISTRY_PORT=${DOCKER_WEBUI_REGISTRY_PORT}
1093+ - ENV_DOCKER_REGISTRY_USE_SSL=${DOCKER_REGISTRY_USE_SSL}
1094+ - ENV_MODE_BROWSE_ONLY=${DOCKER_REGISTRY_BROWSE_ONLY}
1095+ volumes :
1096+ - /etc/localtime:/etc/localtime:ro
1097+ ports :
1098+ - " ${DOCKER_WEBUI_PORT}:80"
1099+ networks :
1100+ - frontend
1101+ - backend
10731102
10741103# ## MAILU ################################################
10751104 mailu :
Original file line number Diff line number Diff line change 1+ FROM registry:2
2+
3+ LABEL maintainer="ahkui <ahkui@outlook.com>"
Original file line number Diff line number Diff line change 1+ FROM konradkleine/docker-registry-frontend:v2
2+
3+ LABEL maintainer="ahkui <ahkui@outlook.com>"
Original file line number Diff line number Diff line change @@ -539,6 +539,17 @@ IDE_WEBIDE_PORT=984
539539IDE_CODIAD_PORT=985
540540IDE_ICECODER_PORT=986
541541
542+ ### DOCKERREGISTRY ###############################################
543+ DOCKER_REGISTRY_PORT=5000
544+
545+ ### DOCKERWEBUI ###############################################
546+ DOCKER_WEBUI_REGISTRY_HOST=docker-registry
547+ DOCKER_WEBUI_REGISTRY_PORT=5000
548+ # if have use https proxy please set to 1
549+ DOCKER_REGISTRY_USE_SSL=0
550+ DOCKER_REGISTRY_BROWSE_ONLY=false
551+ DOCKER_WEBUI_PORT=8754
552+
542553### MAILU ###############################################
543554MAILU_VERSION=latest
544555MAILU_RECAPTCHA_PUBLIC_KEY=<YOUR_RECAPTCHA_PUBLIC_KEY>
You can’t perform that action at this time.
0 commit comments