Keep your archive on a NAS or an always-on computer and open it from any device on your network.


| Desktop app | Server |
|---|---|
| One computer, nothing to set up. | One home for the archive, reached from any device. |
| Runs when you open it. | Always on, so imports keep going. |
| Download the app for Mac, Windows or Linux. | Docker, on Linux, a NAS or TrueNAS. |
docker-compose.yml in a folder of its own, with <your-photos-folder> replaced by that folder's path, in both places:services:
postgres:
image: postgres:18-alpine
restart: unless-stopped
# Time to finish writing on shutdown, and enough shared memory for large queries.
stop_grace_period: 1m
shm_size: 256mb
environment:
POSTGRES_USER: lifer
POSTGRES_DB: lifer
# Only for the first start: Lifer then moves the database onto a generated password.
POSTGRES_PASSWORD: lifer
volumes:
- lifer-db:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -U lifer -d lifer"]
interval: 2s
timeout: 3s
retries: 30
# Runs for a moment at each start, so Lifer can write to your photos folder.
permissions:
image: ghcr.io/sparklysparkspark/lifer-app:release
user: "0:0"
network_mode: none
restart: "no"
entrypoint: ["/usr/local/bin/lifer-fix-permissions"]
command: ["/data", "/app-data"]
volumes:
- <your-photos-folder>:/data
- lifer-app-data:/app-data
api:
# "release" is the newest stable version. Use a version number, like 0.12.0, to update
# only when you choose.
image: ghcr.io/sparklysparkspark/lifer-app:release
restart: unless-stopped
init: true
user: "568:568"
depends_on:
postgres:
condition: service_healthy
permissions:
condition: service_completed_successfully
environment:
DATABASE_URL: postgres://lifer:lifer@postgres:5432/lifer
NODE_ENV: production
PORT: 4000
DATA_DIR: /data
APP_DATA_DIR: /app-data
ports:
- "4000:4000"
volumes:
# Your wildlife photos.
- <your-photos-folder>:/data
# Lifer's own files: previews, the offline map, models, downloads.
- lifer-app-data:/app-data
volumes:
lifer-db:
lifer-app-data:
docker compose up -d
http://<server-ip>:4000 in a browser and make your account. The first person to open it gets the account, so do this right away.Your server needs Docker with Docker Compose. The Docker guide covers settings, file ownership and updates.
On TrueNAS, paste the same compose file into a custom app. Portainer, Synology Container Manager and Unraid work the same way, with no terminal needed.