Mateus-Oli / verdaccio-ad-docker

verdaccio + active directory authentication in docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

verdaccio + active directory authentication in docker. this repository uses a base image of node:alpine and the npm packages: verdaccio and verdaccio-activedirectory.

Environment Parameters

Verdaccio Related

  • PORT: tcp port to run verdaccio in, defaults to 4873;
  • BASIC: access rights for non scoped packages, defaults to $all;
  • SCOPED: access rights for scoped packages, defaults to $authenticated;
  • PROXY: fallback proxy for not found packages, defaults to https://registry.npmjs.org;
  • WEB_ENABLE: is web page enabled, defaults to true;
  • WEB_TITLE: web page title, defaults to Verdaccio;
  • WEB_LOGO: logo used in web page, defaults to verdaccio logo;

Active Directory Related

  • DOMAIN: active directory domain;
  • BASE_DN: active directory baseDn;

Volumes

  • Configuration File: /verdaccio/conf/config.yml;
  • Data Storage: /verdaccio/storage;

DOCKER COMPOSE

version: '3.3'

services:
  verdaccio:
    image: mateusoli/verdaccio-ad
    ports:
      - 4873:4873
    volumes:
      - verdaccio:/verdaccio/storage
    environment:
      DOMAIN: domain.com
      BASE_DN: dc=domain,dc=com

volumes: 
  verdaccio:

References

About

verdaccio + active directory authentication in docker


Languages

Language:Dockerfile 100.0%