diff --git a/docker.registry/README.md b/docker.registry/README.md new file mode 100644 index 0000000..dd9d8e7 --- /dev/null +++ b/docker.registry/README.md @@ -0,0 +1,21 @@ +# Docker Registry Configuration + +more details on: https://docs.docker.com/registry/deploying/ + +## Registry Usage + +its really simply: + +```bash +docker pull ubuntu + +docker tag ubuntu 00x097/ubuntu + +docker push 0.0.0.0:5050/ubuntu +``` + +if you use https-portal, check out this: + +```bash +docker push docker-registry.tk/ubuntu +``` \ No newline at end of file diff --git a/docker.registry/docker-compose.yml b/docker.registry/docker-compose.yml new file mode 100644 index 0000000..9653d2e --- /dev/null +++ b/docker.registry/docker-compose.yml @@ -0,0 +1,31 @@ +version: "3.9" + +services: + + # https-portal: + # image: steveltn/https-portal:1 + # container_name: https-portal + # restart: always + # environment: + # DOMAINS: docker-registry.tk -> http://docker-registry:5000 + # ports: + # - 80:80 + # - 443:443 + # links: + # - docker-registry + # volumes: + # - ./volumes/https-nginx/cert:/var/lib/https-portal + # - ./volumes/https-nginx/logs:/var/log + + + docker-registry: + image: registry:2.8.1 + container_name: docker-registry + restart: always + environment: + REGISTRY_HTTP_ADDR: 0.0.0.0:5000 + ports: + - 0.0.0.0:5050:5000 + # - 5000 + volumes: + - ./volumes/registry:/var/lib/registry \ No newline at end of file diff --git a/rocket.chat/docker-compose.yml b/rocket.chat/docker-compose.yml index bfc115c..3652fa7 100644 --- a/rocket.chat/docker-compose.yml +++ b/rocket.chat/docker-compose.yml @@ -13,6 +13,9 @@ services: - 443:443 links: - rocket-chat + volumes: + - ./volumes/https-nginx/cert:/var/lib/https-portal + - ./volumes/https-nginx/logs:/var/log rocket-chat: image: rocket.chat:5.4.0