1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/docker-examples/v4/gitlab-verdaccio
Juan Picado 9cf5cee4fd
docs: copy docker examples v4 (#2120)
* docs: copy docker examples v4

* docs: copy docker examples v4

* chore: update ignore files
2021-03-10 22:49:20 +01:00
..
README.md docs: copy docker examples v4 (#2120) 2021-03-10 22:49:20 +01:00

Verdaccio and Gitlab Authentication

The verdaccio-gitlab plugin can be used to authenticate users against gitlab.

Running with the provided verdaccio-gitlab docker image

If the only extra plugin you require is verdaccio-gitlab, you can use the image provided by the plugin project. It takes care of the whole plugin setup and is based on the official verdaccio docker image.

More information about the configuration required can be found in the verdaccio-gitlab readme.

https://hub.docker.com/r/bufferoverflow/verdaccio-gitlab/

Building your own docker image

There's a sample docker-compose file in the verdaccio-gitlab repo that shows how to build & start both gitlab and verdaccio with support for the gitlab plugin, but this is generic enough to be used with any other extra plugins.

You can also extend the official verdaccio-gitlab image Dockerfile.