bufferoverflow / verdaccio-gitlab

private npm registry (Verdaccio) using gitlab-ce as authentication and authorization provider
MIT License
160 stars 55 forks source link

Custom gitlab url #52

Closed nest-aka-swan closed 6 years ago

nest-aka-swan commented 6 years ago

Currently Dockerfile doesn't provide a way to override gitlab url because it intended to be used with own gitlab instance running via docker-compose.yml.

I think it would be great if Dockerfile allow you to use verdaccio-gitlab plugin with remote gitlab instance

dlouzan commented 6 years ago

I'm not sure I understand your issue; the Dockerfile just uses a default conf/docker.yaml and copies it to the expected location of the config file for verdaccio under /verdaccio/conf/config.yaml. This is what is used in the docker-compose file.

If you want to overwrite the gitlab location, just provide a custom configuration file and mount it at that location on docker startup with the --volume option. If you are on e.g. a kubernetes environment, it's even easier with the native volumes support.

dlouzan commented 6 years ago

53 documents this in the readme