Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/interactivetraining/self-hosted-unpkg
:package: self-hosted unpkg clone (with private registry option)
https://github.com/interactivetraining/self-hosted-unpkg
cloudflare dockerfile npm-registry private-npm self-hosted typescript unpkg unpkg-clone
Last synced: 3 months ago
JSON representation
:package: self-hosted unpkg clone (with private registry option)
- Host: GitHub
- URL: https://github.com/interactivetraining/self-hosted-unpkg
- Owner: InteractiveTraining
- License: mit
- Created: 2019-03-14T12:52:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T18:09:10.000Z (over 3 years ago)
- Last Synced: 2023-05-01T04:23:00.460Z (almost 2 years ago)
- Topics: cloudflare, dockerfile, npm-registry, private-npm, self-hosted, typescript, unpkg, unpkg-clone
- Language: TypeScript
- Homepage: https://hub.docker.com/r/interactivetraining/self-hosted-unpkg
- Size: 27.3 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# self-hosted-unpkg
## Requirements
- Registry token or credentials (if you want to allow access to private packages)
- Redis (if you want short-term file caching to reduce registry load)### For HTTPS
- Cloudflare credentials (used to verify domain with Lets Encrypt)
- Google Cloud Storage + service account (for storing SSL cert/key)## Example
Create .env file. (see http.sample.env) and run:```bash
docker run -it --rm -p 443:443 -p 80:80 --env-file ./.env --name self-hosted-unpkg interactivetraining/self-hosted-unpkg
```[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://console.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_image=gcr.io/cloudrun/button&cloudshell_git_repo=https://github.com/InteractiveTraining/self-hosted-unpkg)