mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
9cf5cee4fd
* docs: copy docker examples v4 * docs: copy docker examples v4 * chore: update ignore files
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
version: '2'
|
|
|
|
services:
|
|
verdaccio:
|
|
container_name: verdaccio-ldap-1
|
|
build: verdaccio-ldap/
|
|
ports:
|
|
- '4873:4873'
|
|
volumes:
|
|
- './storage:/verdaccio/storage'
|
|
- './conf:/verdaccio/conf'
|
|
openldap:
|
|
image: osixia/openldap
|
|
container_name: openldap
|
|
hostname: openldap
|
|
environment:
|
|
LDAP_ORGANISATION: 'LDAP Verdaccio Auth'
|
|
LDAP_SSL_HELPER_PREFIX: 'ldap'
|
|
LDAP_TLS_VERIFY_CLIENT: 'never'
|
|
LDAP_LOG_LEVEL: 256
|
|
LDAP_ADMIN_PASSWORD: 'admin'
|
|
ports:
|
|
- '389:389'
|
|
links:
|
|
- verdaccio
|
|
openldap-seed:
|
|
image: osixia/openldap
|
|
volumes:
|
|
- ./docker/ldap/ldif_files:/ldif_files
|
|
links:
|
|
- openldap
|
|
entrypoint: sh -c '/ldif_files/addAll.sh'
|
|
openldap-admin:
|
|
image: osixia/phpldapadmin
|
|
container_name: openldap-admin
|
|
hostname: openldap-admin
|
|
environment:
|
|
PHPLDAPADMIN_HTTPS=false:
|
|
PHPLDAPADMIN_LDAP_HOSTS: 'openldap'
|
|
ports:
|
|
- '8080:80'
|
|
links:
|
|
- 'openldap:openldap'
|
|
depends_on:
|
|
- openldap
|
|
volumes:
|
|
verdaccio:
|
|
driver: local
|