# PhotoPrism Photos app for the decentralized web. 1. [TL;DR](#tldr) 1. [Further readings](#further-readings) 1. [Sources](#sources) ## TL;DR
Installation and configuration
Docker compose (preferred) [File example][docker-compose.yml] ```sh wget 'https://dl.photoprism.app/docker/docker-compose.yml' docker compose up -d ``` The installation example includes a pre-configured MariaDB database server.
SQLite database files will be created in the storage folder, should one remove it and provide no other database server credentials. | Volume | Description | | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `/photoprism/originals` | Contains one's original photo and video files | | `/photoprism/storage` | Configuration, cache, thumbnail, and sidecar files.
It **must** always be specified to avoid losing such files after restarts or upgrades.
Never configure the storage folder to be inside the originals folder, unless the name starts with a `.` to indicate that it is hidden. | | `/photoprism/import` | Optional folder from which files can be transferred to the `originals` folder in a structured way that avoids duplicates.
Imported files receive a canonical filename and will be organized by year and month.
Never configure the import folder to be inside the originals folder, as this will cause a loop by importing already indexed files. |
## Further readings - [Self-hosting] - [Website] - [Github] ### Sources - [Documentation] [self-hosting]: self-hosting.md [docker-compose.yml]: /containers/photoprism/docker-compose.original.yml [documentation]: https://docs.photoprism.app/ [github]: https://github.com/photoprism/photoprism [website]: https://www.photoprism.app/