-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/opt/docspell.conf isn't used #303
Comments
Is the code on your branch? Or where can I find it for playing around? |
Not committed, yet. Wanted to keep the commit history clean for the PR ;-) But figured out the problem: When combining entrypoint and cmd one has to use [] notation for them, but then again ENV variables cannot be used (for JVM params). Because I switched to exec notation in order to have the var read properly, docker went on to ignore the cmd and therefore the path to the conf file! I would go with setting the JVM params by JAVA_OPTS ENV variable now and not passing it directly to the docspell binary calls. From my understanding and little testing, this seems to work. |
great! don't worry about unclean commits too much. you can always squash them together afterwards seems strange that it's not possible to have env variables in the command, but I have no clue:) if it can be solved better or differently thats fine. consumedir image also needs an env Variable currently in the command. |
It still works on the last release - just not on the latest/self-compiled version!
Mapping for local one is done in
docker-compose.yml
and seems to work properly:execing ls in the container also shows that all rights are there:
But still, the default one is used :-/
The text was updated successfully, but these errors were encountered: