Docker Compose (unRAID)

You have to download docker-compose. You can add the following to your /boot/config/go file to make sure it’s always available:

curl -L "$(uname -s)$(uname -m)" -o /usr/local/bin/docker-compose`
sudo chmod +x /usr/local/bin/docker-compose

You’ll need to create a folder under /mnt/user (e.g. librephotos) within there you’ll need two files:

Download this file and save it as .env:

wget -O .env

​Download this file to same directory but keep the original name:


You’ll need to edit the .env file with paths to your photos (myPhotos) and possibly the timeZone variable. Optionally you’ll want to grab a mapbox API key as documented in the file. Keep note of the default http port, 3200.

​Once done you can fire up the containers by typing:

docker-compose up -d

This will cause the containers to startup in the background. You can check the status of them by running:

docker logs {container name}

You can get a name for each of the containers by typing:

docker ps | grep librephoto

Finally, you can access the UI by going to http://unraidip:3200

Default userName and userPass are in .env file.

First thing you’ll want to do in the UI is go to the drop down menu located at the top right under avatar and select Admin Area.

You’ll need to set your “Scan Directory” which should be /data.

Go back to the drop down and select Settings. Scroll to the bottom and select Scan photos from bottom left. You’ll see some activity on your server as the photos are being processed. You can check on them by going to Photos on the top left of the UI and select recently added. ​

You can also monitor progress from shell prompt by tailing this file:

tail -f librephotos_logs/ownphotos.log

To shut everything down:

docker-compose down

If you want to grab any updates you can type:

docker-compose pull

Thanks to u/Tusc00 for this write up!

Next Steps

Next, take a look at the first steps after setup.