/verdaccio-compose

Deploy verdaccio via docker compose

Primary LanguageDockerfile

参考: https://github.com/verdaccio/verdaccio/tree/master/docker-examples/v5/reverse_proxy/nginx_relative 少量调整,完成SSL部署, 注意以下中文部分

Nginx Relative Path with Verdaccio 5

This example runs two verdaccio versions:

Note: we should add more sort of configurations here.

Nginx HTTP Example

docker compose up --build --force-recreate

open the browser

http://localhost/relative_path/

Nginx SSL Example

  • 拷贝ssl证书到nginx_ssl下, 名字保持和nginx-default.conf文件里设置一致,
  • 修改 nginx-default.conf,改域名设置
docker compose -f docker-compose_ssl.yml up --build --force-recreate

open the browser

https://yourdomain/verdaccio/