Comments (4)
@boocup : can you tell us what's not working? This is an example deployment that we've worked with: https://github.com/openmicroscopy/apacheds-k8s-app/blob/d0ec1d476221ef039c6d7bbe57c6e62201036093/k8s/deployment.yml#L24
from apacheds-docker.
I was trying to mimic the docker customization [ https://hub.docker.com/r/openmicroscopy/apacheds scroll down]which spins up the container and initializes it with a custom config.ldif perfectly. When I used the k8s yaml above, or variations, it looks like the config.ldif isn't picked up...
'/bootstrap/cache' -> '/var/lib/apacheds/myLDAP/cache'
'/bootstrap/conf' -> '/var/lib/apacheds/myLDAP/conf'
'/bootstrap/log' -> '/var/lib/apacheds/myLDAP/log'
'/bootstrap/ome.ldif' -> '/var/lib/apacheds/myLDAP/ome.ldif'
'/bootstrap/partitions' -> '/var/lib/apacheds/myLDAP/partitions'
'/bootstrap/run' -> '/var/lib/apacheds/myLDAP/run'
'/bootstrap/stagroup.ldif' -> '/var/lib/apacheds/myLDAP/stagroup.ldif'
changed ownership of '/var/lib/apacheds/myLDAP/stagroup.ldif' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/partitions' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/ome.ldif' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/conf' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/run' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/cache' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP/log' from root:root to apacheds:apacheds
changed ownership of '/var/lib/apacheds/myLDAP' from root:root to apacheds:apacheds
Starting ApacheDS - myLDAP...
FATAL | wrapper | Unable to resolve the full path of the configuration file, /var/lib/apacheds/myLDAP/conf/wrapper-instance.conf: No such file or directory
cat: /var/lib/apacheds/myLDAP/run/apacheds-myLDAP.pid: No such file or directory
...I will checkout the example you kindly shared; I thought I tried something similar, but I'll give it a go. I was kind of headed down that similar track again anyway after posting.
Thanks and all the best!
from apacheds-docker.
No problem. Let us know how it goes.
from apacheds-docker.
worked great! Thanks!
from apacheds-docker.
Related Issues (14)
- Drop version from data directory
- Set password on startup
- ERR_250_ENTRY_ALREADY_EXISTS ou=system already exists HOT 18
- K8s Volume and initialization of /var/lib/apache HOT 6
- LDAP Backups HOT 2
- Latest update (AM26) to docker registry HOT 1
- How to enable schemas on 0.8.0 version? HOT 1
- Custom dc not working HOT 6
- Adding custom interceptor HOT 1
- Move to Ubuntu 18.04 HOT 3
- Database breaks the more users are stored HOT 6
- Can't run image HOT 9
- Mount data/configuration directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apacheds-docker.