LycheeOrg / Lychee-Docker

Docker image for Lychee
https://lycheeorg.github.io/
167 stars 55 forks source link

Which files to back up (paths)? #107

Closed hess8 closed 3 years ago

hess8 commented 3 years ago

I have a successful install using docker-compose. You have good documentation on Directory Structure, but where are these located? In particular where are the original photo files kept? I've searched for an hour or two for files on the computer and for info on Google.

d7415 commented 3 years ago

https://github.com/LycheeOrg/Lychee-Docker/blob/master/docker-compose.yml#L31-L34

Config (and the sqlite database if you're using it) is in /conf, Photos are in /uploads. Symlinks are in /sym.

hess8 commented 3 years ago

I finally found it. Actually photos are not in /uploads, they are in ./path/to/pictures/. I hope you can address this in your documentation for others.

Thanks.

hess8 commented 3 years ago

OK I see the paths are set in the .yaml. I'll try your volumes. Thanks

d7415 commented 3 years ago

Yes, I can't see ./path/to/pictures/ anywhere in the codebase, so that would have been your configuration.

Sorry I can't help more, but I don't use docker-compose, so other than writing a test I have no experience with it (or the example configuration).