{"id":26228241,"url":"https://github.com/nemanjam/verdaccio-docker","last_synced_at":"2026-03-15T17:40:00.178Z","repository":{"id":272991107,"uuid":"918398139","full_name":"nemanjam/verdaccio-docker","owner":"nemanjam","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-26T19:05:08.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T20:19:08.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nemanjam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-17T21:08:44.000Z","updated_at":"2025-01-26T19:05:11.000Z","dependencies_parsed_at":"2025-01-17T22:36:37.773Z","dependency_job_id":null,"html_url":"https://github.com/nemanjam/verdaccio-docker","commit_stats":null,"previous_names":["nemanjam/verdaccio-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fverdaccio-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fverdaccio-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fverdaccio-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemanjam%2Fverdaccio-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemanjam","download_url":"https://codeload.github.com/nemanjam/verdaccio-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243293766,"owners_count":20268139,"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","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":[],"created_at":"2025-03-12T20:50:25.305Z","updated_at":"2025-12-24T17:28:54.883Z","avatar_url":"https://github.com/nemanjam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Verdaccio Docker\n\n## Installation\n\n```bash\n# set Docker user for storage folder\n# ~/.bashrc\nexport MY_UID=$(id -u)\nexport MY_GID=$(id -g)\n\n# run, go to http://localhost:4873/\ndocker compose up -d\n```\n\n## Create local user\n\n```bash\n# create user (user from config.yml fails currently)\nnpm adduser --registry http://localhost:4873\n# user: admin, pass: 123456, email: admin@example.com\n# login in ui\n```\n\n## Publish package locally\n\n```bash\n# from the package\nnpm publish --registry http://localhost:4873\n```\n\n## Install local package\n\n### Scope level\n\n```bash\n# set project-level .npmrc\n# ~/Desktop/my-project/.npmrc\n@my-org:registry=http://localhost:4873\n\n# Note: you must have entire dependency tree for @my-org scope in local Verdaccio\n# with specified versions, \"@my-org/my-package\": \"workspace:*\", will fail\n\n# Solution: easiest, go to my-package/node_modules/@my-org and publish all dependencies from there\nnpm publish --registry http://localhost:4873\n```\n\n### Single package level\n\n```bash\nnpm install my-package --registry=http://localhost:4873\n# Todo: this will fail, install with 2 registries error\n\n```\n\n## Unpublish package\n\n```bash\n# all versions\nnpm unpublish my-package --registry http://localhost:4873 --force\n\n# specific version\nnpm unpublish my-package@1.2.3 --registry http://localhost:4873 --force\n\n```\n\n## Todo:\n\n- Set user/password/email in `config.yaml`\n- Resolve just a single package from Verdaccio (including its dependencies)\n\n## References\n\n- Only the basics with Docker https://medium.com/havelsan/how-to-publish-custom-npm-packages-to-a-private-local-registry-using-verdaccio-on-docker-0494fb5938ab\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemanjam%2Fverdaccio-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemanjam%2Fverdaccio-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemanjam%2Fverdaccio-docker/lists"}