Skip to content

Requirements ​

This page lists what the Kinlore server needs. Check it before you install.

Two ways to install ​

Both ways use the same code and the same variables.

Docker Compose (recommended)Host install without Docker
What you installDocker with Docker ComposePHP, Composer, FFmpeg and a web server
Systemany Linux machine that runs DockerDebian 13, or Ubuntu 24.04 or later
DatabasePostgreSQL 18, in a containerSQLite (a single file) or PostgreSQL
Media storageSeaweedFS, in containersa folder on the disk, or S3 storage
Cache and rate limitsRedis, in a containerthe database
Web server and HTTPSCaddy, in the API containerCaddy or nginx on the host

Choose Docker Compose when you are not sure. One command starts every part.

Hardware ​

PartWhat to plan
Memory2 GB or more. With 1 or 2 GB, see Large photo uploads fail on a small server.
DiskThe space of all your photos and videos, plus about the same again for backups. The server keeps every original file. Each video also gets a stream copy in three sizes.
ProcessorVideo conversion uses the processor. On a slow machine, a video takes longer to be ready.

Docker and Docker Compose ​

PartVersionCheck it with
Docker Enginea current releasedocker version
Docker Compose2.24.4 or newerdocker compose version

deploy/docker/reverse-proxy.yml uses the !override tag of Docker Compose. Older versions stop with an error about this tag.

Install Docker

On Debian and Ubuntu, the official script installs Docker with Docker Compose:

sh
curl -fsSL https://get.docker.com | sudo sh

To run docker without sudo, add your user to the docker group with sudo usermod -aG docker $USER, then sign in again.

Network ​

UseWhat you need
On the internetA host name that points at the machine, for example photos.example.com, and HTTPS. iPhones need HTTPS for an address on the internet. Kinlore can get the certificate by itself.
At home onlyThe address of the machine on your network, for example http://192.168.1.20:28461 with Docker. Plain HTTP works for local addresses.
Ports80 and 443 for built-in HTTPS. Behind your own reverse proxy, the port of that proxy. Otherwise 28461 (HTTP) and 28462 (HTTPS), the Docker defaults.

For a server at home that must be reachable from the internet, see Make a server at home reachable.

Software versions ​

PartVersionNotes
PHP8.5in the Docker image; install it yourself on a host install
Laravel13comes with the code
PostgreSQL18 in Docker; 15 or later on a host installoptional on a host install
SeaweedFS4.55Docker only; pinned, because it holds all media
Redis8.10Docker only; cache and rate limits
Caddy2in the Docker image

The app ​

The family needs the Kinlore app on iPhone or Android. Use app 1.1 or newer. See Install the app.

Next steps ​

Released under the GNU Affero General Public License, version 3.