Skip to content

InteractiveTraining/self-hosted-unpkg

Repository files navigation

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:

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