This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
photosalts [2021/08/28 10:00] – alexk7110 | photosalts [2025/08/19 14:42] (current) – removed alexk7110 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Alternatives to Google Photos ====== | ||
- | * https:// | ||
- | |||
- | * https:// | ||
- | |||
- | ===== Librephotos Setup ===== | ||
- | |||
- | === Docker-compose method (Recommended)Permalink === | ||
- | |||
- | Clone the repo: '' | ||
- | |||
- | cp librephotos.env .env | ||
- | |||
- | Open '' | ||
- | |||
- | Do not forget to create the directories you specified in the '' | ||
- | |||
- | Run | ||
- | |||
- | docker-compose up -d | ||
- | |||
- | You should have librephotos accessible after a few minutes of boot-up on: '' | ||
- | |||
- | === First steps after setting up === | ||
- | |||
- | - You need to log in as the '' | ||
- | - Then, go to '' | ||
- | - If you have a **Nextcloud** instance, you can also input login details for it in the '' | ||
- | |||
- | The basic idea is this: | ||
- | |||
- | - For scanning photos that reside in the **local file system**. Only the admin user can change the “scan directory” of the users, including the admin itself. Normal users cannot change his/her own “scan directory”. | ||
- | - For scanning photos that reside in **external Nextcloud instances**. Any user can change his/her own Nextcloud endpoint, and choose a top level directory in the Nextcloud account. | ||
- | |||
- | === Auto scan all folders === | ||
- | |||
- | You can start a scan with the following command: | ||
- | |||
- | sudo docker exec --user root CONTAINER_NAME python3 manage.py scan | ||
- | |||
- | You can just create a cron job to regularly call this command | ||
- | |||
- | # Every day at 3 AM | ||
- | 0 3 * * * sudo docker exec --user root CONTAINER_NAME python3 manage.py scan >/ | ||
- | |