Comments (6)
There are a few different types of volumes. What you are describing name:/path
is a named volume. For this type of volume, docker will create an empty directory within your docker runtime path and mount it to the destination listed within the container. In other words docker_volume_name:/destination/within/container
.
In the example I linked, I am using a bind mount with a relative path. In this type of volume is described as ./local/path/relative/to/compose:/destination/within/container
. The left (source) side can be an absolute path too, if you wish.
It's common to use a bind mount to bind config files from the host machine to the container. Named volumes like you're using are common for data volumes where there is really data from the outside you're trying to mount into it. You're only trying to tell Docker to keep this directory in a named volume so it persists when containers are destroyed or recreated.
Here's the Docker Compose documentation on volumes for reference.
With that background done, the spoilers on what you need to do is the following: ./config/config.toml:/config.toml
.
from vaultwarden_ldap.
Ok thank you, after some searching around I found I will have to do some work on my LDAP. So closing this now.
Thanks again for your friendly help and explanation. Huge help.
I wish you a nice day 👍
from vaultwarden_ldap.
The way you're mounting config volume is incorrect.
Check out the example: https://github.com/ViViDboarder/bitwarden_rs_ldap/blob/master/docker-compose.yml#L8
from vaultwarden_ldap.
Could you give me an example with my file path please. I do not understand the Syntax in the Example. I thought volumes should be created with name:/path
.
I only installed Docker for bitwardenrs, so please forgive my inexperience, I am trying to learn, as I have never seen this way of creating volumes before.
from vaultwarden_ldap.
Wow, thanks for that great explanation.
After following your advice, I am greeted with another error:
thread 'main' panicked at 'rc=1 (operationsError), dn: "", text: "00002020: Operation unavailable without authentication"', src/main.rs:22:9
Does that mean the credentials for my LDAP Login are wrong or that my login for the local bitwardenrs Server is not working ? :)
from vaultwarden_ldap.
That's a great question. The panic doesn't show very much. Are there other log messages? In most error cases, I log out some message, but there are a few in the LDAP connection that do not. In other words, if there is no other indication, I'd say it's your LDAP connection.
from vaultwarden_ldap.
Related Issues (20)
- Crashing when encountering users without an email address HOT 3
- ldap login problem HOT 1
- Clarify documentation on intent of application HOT 2
- Unable to Sync Users with Vaultwarden instance HOT 1
- Enable environment variable with the ID of the organization to which users are to be invited HOT 1
- LDAP Sync Problem HOT 2
- Cannot open admin portal on http://localhost:8001 HOT 1
- vividboarder/vaultwarden_ldap:alpine image not updated HOT 4
- Do not use "restart = unless stopped" (docker-compose) and "ldap_sync_loop = false" (config.toml) ! HOT 1
- Request a feature HOT 1
- Disable users that vanished from LDAP HOT 7
- Proper communication with LDAP HOT 2
- Group / organization support? HOT 2
- LDAP login authentication failure HOT 6
- Anonymous bind enabled? HOT 1
- Can support ldap group members HOT 3
- Help translating ldapsearch query into working config HOT 1
- LDAP Synchronization with Microsoft Active Directory LDAP not working HOT 1
- The data will be cleared if to execute `docker-compose up` HOT 6
- Bind DN to authenticate is empty when using Authentik LDAP HOT 5
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 vaultwarden_ldap.