Skip to content

containerize-my-server/npm-proxy-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Creates a caching proxy

  • Uses npm-proxy-cache
  • Listens on port 3128
  • Listens on address 0.0.0.0
  • Caches data for 1 month

Usage

# on the server (ip-address)
git clone https://github.com/containerize-my-server/npm-proxy-cache.git
docker-compose up -d

# On the client (e.g. in .gitlab-ci.yml)
export http_proxy=http://ip-address:3128
export https_proxy=http://ip-address:3128

npm config set strict-ssl false

npm install ...

About

Docker-compose setup for caching the npm-registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published