{"id":15666084,"url":"https://github.com/sergk/nexus3-ssl","last_synced_at":"2025-08-27T02:07:17.388Z","repository":{"id":145505975,"uuid":"81935378","full_name":"SergK/nexus3-ssl","owner":"SergK","description":"Docker compose, nexus3 with ssl support","archived":false,"fork":false,"pushed_at":"2017-10-18T19:15:50.000Z","size":23,"stargazers_count":12,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-06T19:52:57.347Z","etag":null,"topics":["anonymous","devops","docker","docker-compose","nexus3","nginx-proxy","ssl-certificate"],"latest_commit_sha":null,"homepage":null,"language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SergK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-14T10:47:04.000Z","updated_at":"2024-08-19T11:14:40.000Z","dependencies_parsed_at":"2023-07-05T21:32:26.092Z","dependency_job_id":null,"html_url":"https://github.com/SergK/nexus3-ssl","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":"0.19999999999999996","last_synced_commit":"e2888e02b72642e5e98623cfd97bff386f1cf1fa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SergK/nexus3-ssl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fnexus3-ssl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fnexus3-ssl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fnexus3-ssl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fnexus3-ssl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergK","download_url":"https://codeload.github.com/SergK/nexus3-ssl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fnexus3-ssl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272279495,"owners_count":24905907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anonymous","devops","docker","docker-compose","nexus3","nginx-proxy","ssl-certificate"],"created_at":"2024-10-03T14:00:20.661Z","updated_at":"2025-08-27T02:07:17.348Z","avatar_url":"https://github.com/SergK.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nexus3-ssl\nDocker compose, nexus3 with ssl support, docker-proxy and anonymous pulling\n\n# Installation\n\nInstall docker-compose in virtualenv\n\n# Steps to deploy\n\n* Update **env.config** file to meet your requirements:\n\n```bash\n# Data volume root dir\nexport VOLUME_PATH=/srv/nexus-data\n\n# will be accessable with https://SERVER_NAME\nexport SERVER_NAME=nexus.sandbox.example.com\n\n# docker dev repo with anonymous push/pull\nexport DOCKER_DEV_NAME=docker-dev.sandbox.example.com\n\n# docker virtual repo with anonymous pull\nexport DOCKER_VIRTUAL_NAME=docker-virtual.sandbox.example.com\n\n# will be used in docker-proxy upstream configuration\nexport UPSTREAM_DOCKER_REPO=https://docker-prod-virtual.docker.example.com\n```\n\n* Put `ssl.key` and `ssl.crt` files in in `nginx/ssl/` directory\n\n# Automatic deployment steps on **Nexus** side\n\nImplemeted by running `curl` with related `json` files\n\n* Create [Remote User Token](https://books.sonatype.com/nexus-book/reference3/security.html#remote-user-token)\n* Create **docker-dev** repository with listening on **8082** port\n* Create **docker-proxy** repository with pointing to Upstream docker repo **UPSTREAM_DOCKER_REPO** defined in `env.config`\n* Create **docker-virtual** repository with listening on **8083** port and which includes both:\n   - docker-dev\n   - docker-proxy\n\n# Running\nPlease check **./manage.sh** for help\n```bash\nUsage: ./manage.sh ACTION\n\n ACTION:\n   init                 [Optional] generate config files,\n                        check ssl keys, build required images\n   status               get containers status\n   debug                run docker-compose in foreground\n   start                start all containers in background\n   stop                 stop all containers\n```\n\n# Usage\n* Your nexus web interface will be available - `SERVER_NAME`\n* Your dev repository for pushing/pulling - `DOCKER_DEV_NAME`\n* Your proxy repository for pulling from upstream + dev - `DOCKER_VIRTUAL_NAME`\nFor example:\n\n```bash\n# 1. nexus web interface available https://nexus.sandbox.example.com\n# with admin:admin123 (nexus default credentials)\nSERVER_NAME=nexus.sandbox.example.com\n\n# 2. pushing to dev\ndocker push dev-nexus.sandbox.example.com/my-container:v1.0.0\n\n# 3. pulling from virtual, which is dev+UPSTREAM_DOCKER_REPO\ndocker pull virtual-nexus.sandbox.example.com/debian:jessie\n```\n\n# Notes and limitations\n\n* push/pull to docker-dev repo DOESN'T require authorization since we are doing this transparantly on proxy\n* pull from docker-virtual (which is docker-dev + docker-proxy) can be done anonymously as well\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergk%2Fnexus3-ssl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergk%2Fnexus3-ssl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergk%2Fnexus3-ssl/lists"}