Git Product home page Git Product logo

apacheds's Introduction

Apache DS in a Docker Container

Apache DS is a Java implementation of Directory server (LDAP). This projects puts it into container and makes it easier to configure and bootstrap it with some data.

Apache DS Page that explains what it is.

Docker registry entry for this container.

Running container

Simply run the container with docker:

docker run -d -p 10389:10389 greggigon/apacheds

This starts a default instance of Apache DS running on port 10389 with no SSL. It has a default admin user and password and all default Apache DS schemas.

user: uid=admin,ou=system password: secret

Configuration

Container has two volumes defined:

  • /data - if you want to persiste container data somewhere
  • /bootstrap - for configuration, schema and bootstraping file

Bootstraping

If you want to bootstrap Apache DS with a specific schema mount a bootstrap volume and place Apache DS specific schema in it.

docker run -d -p 10389:10389 -v /onmyhost:/bootstrap greggigon/apacheds

Sample schema can be found in a sample/schema.tar in this GitHub repository.

If you want to use specific config.ldif to setup Apache DS place it in the mounted volume for /bootstrap directory. Container will pick it up automaticaly.

If you have some extra data you want to put into Directory, you can place a file in the /bootstrap mounting folder and setup Environment variable BOOTSTRAP_FILE.

docker run -d -p 10389:10389 -v /onmyhost:/bootstrap -e BOOTSTRAP_FILE=/bootstrap/the-file.ldif greggigon/apacheds

Examples

sample folder containes example schema, example config file and example of a data creation in LDAP upon bootstrap.

Pull request for contributions are always WELCOME! :)

apacheds's People

Contributors

greggigon avatar z0rb avatar joeferner avatar

Watchers

James Cloos avatar Aleix Llusà Serra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.