Giter Club home page Giter Club logo

Comments (4)

andy47 avatar andy47 commented on May 22, 2024

And as soon as I posted this issue I figured out what I was doing wrong. I had copied lldap_config.docker_template.toml to my lldata directory and renamed it to lldap_config.toml but hadn't updated the entries that referred to the \data directory so on startup the code was trying to write to non-existent files.

from lldap.

andy47 avatar andy47 commented on May 22, 2024

Sorry, I spoke too soon. I was expecting the database and associated files to be written to my lldata folder but nothing is appearing there. The sample docker-compose file creates a named volume but I can't then figure out how to get my lldap_config.toml file into that volume. So, my question is how do I mount the container /data to a host folder so that on startup lldap will read my lldap_config.toml file. Thanks in advance for any assistance.

from lldap.

nitnelave avatar nitnelave commented on May 22, 2024

I just pushed a freshly baked new docker image just for you, with slightly better diagnostics when starting the server, please try it out.

With your docker-compose file above, you should have in your lldata folder the lldap_config.toml file. When the server starts, it will create the users.db file next to it.

Note that env variables should be prefixed with LLDAP_, I'll correct the README example.

from lldap.

nitnelave avatar nitnelave commented on May 22, 2024

@andy47 Did you manage to get it working?

from lldap.

Related Issues (20)

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.