34mb npm registry based on sinopia with ldap support
This is a image for everyone who want's in few minuts have a npm registry ready for action.
- LDAP support
- Extra small (34mb)
- Easy to start
This is the variables you can set
STORAGE
- Folder where your packages will be stored. default value is /dataPASSWORD
- You can generate a new pass usingecho "example" | sha1sum
default value is c8fed00eb2e87f1cee8e90ebbe870c190ac3848cWEB_INTERFACE
- Enable or disable web interface. default value is trueTITLE
default value is sinopiaUPLINKS
- default value is https://registry.npmjs.org/TIMEOUT
- default value is 30sMAXAGE
- default value is 60sMAX_FAILS
- default value is 3FAIL_TIMEOUT
- default value is 1mPRIVATE_PREFIX
- Prefix for your private packages. default value is private-*PRIVATE_PACKAGES_ACCESS
- default value is authenticatedPRIVATE_PACKAGES_PUBLISH
- default value is authenticatedPUBLIC_PACKAGES_ACCESS
- default value is authenticatedPUBLIC_PACKAGES_PUBLISH
- default value is authenticatedLISTEN_ADDRESS
- default value is 0.0.0.0:4873MAX_BODY_SIZE
- default value is 1mbIGNORE_LATEST_TAG
- default value is false
LDAP
- default value is false
LDAP_TYPE
- default value is ldap
LDAP_GROUP_NAME_ATTRIBUTE
- default value is uid
LDAP_CLIENT_URL
- default value is ldap://ldap.example.com
LDAP_CLIENT_ADMIN_DN
- default value is dn=admin,dn=example,dn=com
LDAP_CLIENT_ADMIN_PASSWORD
- default value is c8fed00eb2e87f1cee8e90ebbe870c190ac3848c
LDAP_CLIENT_ADMIN_SEARCH_BASE
- default value is ou=People,dn=example,dn=com
LDAP_CLIENT_ADMIN_SEARCH_FILTER
- default value is (uid={{username}})
LDAP_CLIENT_CACHE
- default value is False
LDAP_CLIENT_REJECT_UNAUTHORIZED
- default value is True
For more detailed information about sinopia and sinopia-ldap take a look in official repos.
- improvement documentation
- add auth support