Back to Apps
Lychee

Deploy Lychee on Your Own Server

A great looking and easy-to-use photo-management-system.

🎬 Media

Want to deploy Lychee on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Lychee?

A great looking and easy-to-use photo-management-system.

Self-Host Lychee

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

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

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  lychee:
    image: lycheeorg/lychee:v4.0.7
    environment:
      DB_CONNECTION: mysql
      DB_DATABASE: ${mariadb}-db
      DB_HOST: lychee-mariadb
      DB_PASSWORD: ${mariadb}-password
      DB_PORT: "3306"
      DB_USERNAME: ${mariadb}-user
      PGID: "1000"
      PUID: "1000"
      STARTUP_DELAY: "30"
      TZ: Europe/Brussels
    volumes:
      - lychee-conf:/conf
      - lychee-uploads:/uploads
      - lychee-sym:/sym
    depends_on:
      - lychee-mariadb
  lychee-mariadb:
    image: mariadb:10.5.6
    environment:
      MYSQL_DATABASE: ${mariadb}-db
      MYSQL_PASSWORD: ${mariadb}-password
      MYSQL_RANDOM_ROOT_PASSWORD: "1"
      MYSQL_USER: ${mariadb}-user
    volumes:
      - lychee-db-data:/var/lib/mysql
volumes:
  lychee-conf: {}
  lychee-uploads: {}
  lychee-sym: {}
  lychee-db-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host Lychee?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

lycheeorg/lychee:${lychee_version}

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"