Photoprism: docker: document where scan results are stored

Created on 8 Sep 2019  路  1Comment  路  Source: photoprism/photoprism

Using the default docker setup, I want to avoid re-scanning after upgrading the docker container. I would also like to avoid re-scanning the same image if it has not changed.

Currently the docs do not make clear how scanning is done or scan results are persisted.

question

Most helpful comment

Yes, the image is mainly there for testing and the demo. You need a persistent file system to keep the database. If you check our docker-compose.yml file, you see the various environment variables you can (you can also do this with a config file which should be documented in our wiki):

https://github.com/photoprism/photoprism/blob/develop/docker-compose.yml

Update: Note that the default paths are different in our production image, but you can set the variables to whatever you want anyways (make sure to mount an external, persistent file system in that location).

>All comments

Yes, the image is mainly there for testing and the demo. You need a persistent file system to keep the database. If you check our docker-compose.yml file, you see the various environment variables you can (you can also do this with a config file which should be documented in our wiki):

https://github.com/photoprism/photoprism/blob/develop/docker-compose.yml

Update: Note that the default paths are different in our production image, but you can set the variables to whatever you want anyways (make sure to mount an external, persistent file system in that location).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lastzero picture lastzero  路  4Comments

Toothwitch picture Toothwitch  路  4Comments

wiwie picture wiwie  路  3Comments

twatzl picture twatzl  路  4Comments

lastzero picture lastzero  路  3Comments