-
Notifications
You must be signed in to change notification settings - Fork 210
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
Picture folder location #119
Comments
Hi, With docker tmp, images and these settings are fixed: pigallery2/docker/debian-stretch/Dockerfile.build Lines 21 to 24 in b68d5d1
They should not be changed within the container, rather you should point your volumes to the right folder on your host. Edit docker-compose.yml here (change pigallery2/docker/docker-compose/default/docker-compose.yml Lines 22 to 25 in b68d5d1
Or set up the path correctly if you are running directly: -v <path to your config file folder>/config.json:/app/data/config/config.json \
-v <path to your db file folder>:/app/data/db \
-v <path to your images folder>:/app/data/images \
-v <path to your temp folder>:/app/data/tmp \ If you really want to override these settings within docker, you can try setting them as environmental variables : environment:
- Server-Media-folder=<your path> Also this is related: #114 |
thanks for the quick reply, I tried the ENV variant but in capitals ;-( Now experimenting with Pigallery, so far is looks very nice en exactly what I searched for! |
I'm happy to hear! |
I use the docker versio of pigallery
I want to change the picture folder to a external location, to accomplish this i created a bind volume which directs to a external loaction as a path (/data/pictures).
In the container the path exists and i can get to it in the container console.
I can not edit the folder location in the UI, is keeps turning back to the default location. editiing in de config.json file does not do te trick either.
What am I doing wrong?
Jhod
The text was updated successfully, but these errors were encountered: