{"id":21615154,"url":"https://github.com/eea/eea.docker.ldapservice","last_synced_at":"2025-04-11T07:08:06.057Z","repository":{"id":137839374,"uuid":"55534092","full_name":"eea/eea.docker.ldapservice","owner":"eea","description":"LDAP service","archived":false,"fork":false,"pushed_at":"2024-03-07T14:17:38.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-11T13:00:21.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-04-05T18:51:47.000Z","updated_at":"2023-10-03T16:02:18.000Z","dependencies_parsed_at":"2024-03-07T12:06:19.746Z","dependency_job_id":null,"html_url":"https://github.com/eea/eea.docker.ldapservice","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.ldapservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.ldapservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.ldapservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.ldapservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eea.docker.ldapservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226238894,"owners_count":17593679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T22:10:42.180Z","updated_at":"2024-11-24T22:10:42.603Z","avatar_url":"https://github.com/eea.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"LDAP service\n============\n\nThis is a Dockerfile for an ldap service where the full slapd.conf is stored in an environment variable called `LDAP_CONF`.\nOptional environment variables: `SSL_KEY`, `SSL_CERT`, `SSL_CA_CERTS`, `LDIF_SEED_URL` and `LDIF_SEED_SUFFIX`.\n\nThe optional `LDIF_SEED_URL` is a URL to a file containing LDIF entries created by slapcat. It can be any URL known to `curl` - including `file:`.\nThe file will be loaded before the LDAP daemon is started.\n\nThe optional `LDIF_SEED_SUFFIX` is useful in the case of having multiple backend databases in the slapd.conf file. It will be used to determine which database to add entries to.\n\nIf `LDAP_BACKUP` is set and has the value \"yes\", then instead of starting slapd, a slapcat-runing backup script will be triggered.\n\nExample\n-------\n\n```\n# Only for the primary copy of the database.\nmasterdata:\n  image: busybox\n  command: chown -R 55:55 /var/lib/ldap\n  volumes:\n  - \"/var/lib/ldap\"\n\nldapmaster:\n  image: eeacms/ldapservice\n  ports:\n  - \"2389:389\"\n  - \"2636:636\"\n  volumes_from:\n  - masterdata\n  environment:\n    LDIF_SEED_URL: file:/data/fulldump.ldif\n    LDAP_CONF: |\n        include /etc/openldap/schema/core.schema\n        include /etc/openldap/schema/cosine.schema\n        include /etc/openldap/schema/inetorgperson.schema\n        include /etc/openldap/schema/nis.schema\n        allow bind_v2\n        sizelimit       10000\n        timelimit       3600\n        idletimeout     600\n        pidfile /var/run/openldap/slapd.pid\n        argsfile /var/run/openldap/slapd.args\n\n        database bdb\n        cachesize 50000\n        idlcachesize 150000\n        #loglevel 16640\n\n#\n# LDAP6 is a slave\n#\nldap6:\n  image: eeacms/ldapservice\n  ports:\n  - \"389:389\"\n  - \"636:636\"\n  links:\n  - ldapmaster:ldapmaster\n  environment:\n    LDAP_CONF: |\n        include /etc/openldap/schema/core.schema\n        include /etc/openldap/schema/cosine.schema\n        include /etc/openldap/schema/inetorgperson.schema\n        include /etc/openldap/schema/eionet.schema\n        include /etc/openldap/schema/nis.schema\n        allow bind_v2\n        sizelimit       10000\n        timelimit       3600\n        idletimeout 600\n        pidfile  /var/run/openldap/slapd.pid\n        argsfile /var/run/openldap/slapd.args\n        syncrepl    rid=1\n            provider=ldap://ldapmaster\n            type=refreshOnly\n            interval=00:00:05:00\n        ...\n    SSL_KEY: |\n        -----BEGIN RSA PRIVATE KEY-----\n        ...\n    SSL_CERT: |\n        -----BEGIN CERTIFICATE-----\n        ...\n    SSL_CA_CERTS: |\n        -----BEGIN CERTIFICATE-----\n        -----END CERTIFICATE-----\n```\n\nBuild instructions\n------------------\n\nBuilt automatically at https://hub.docker.com/r/eeacms/ldapservice/ when a change is\npushed to GitHub. To ensure that you always have an immutable build for produuction\nyou create a new tag in GitHub.\n\n    $ version=v1.3\n    $ git tag -a $version -m \"Release $version of the ldapservice\"\n    $ git push origin $version\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.ldapservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feea.docker.ldapservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.ldapservice/lists"}