Lychee

Lychee - Self-hosted photo-management system

8080
Default Port
2
Services
17.0/20
Complexity
Medium
Memory Usage
Configuration

Installation Command

blastdock init lychee

Template Overview

Everything you need to deploy Lychee with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Lychee
lycheeorg/lychee:latest
Mysql
mysql:8
Categories
Database
Security Features
Password Protection
Resource Requirements
CPU: Medium, Memory: Medium , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Lychee up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Lychee with:

Terminal
blastdock init lychee

Interactive mode:

Terminal
blastdock init lychee -i

What's Included

Lychee
Container service
Mysql
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Lychee installation with these configuration options.

2
Required Fields
0
Optional Fields
1
Auto-Generated Passwords

Port

Web interface port

port
Default: 8080
Required: Yes

Mysql Password

MySQL password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Docker Compose

Complete Docker Compose configuration for Lychee deployment.

2
Services
4
Volumes
1
Networks
1
Exposed Ports
docker-compose.yml
version: '3.8'

services:
  mysql:
    image: mysql:8
    container_name: {{ project_name }}_mysql
    restart: unless-stopped
    environment:
      0: MYSQL_ROOT_PASSWORD={{ mysql_password }}
      1: MYSQL_DATABASE=lychee
      2: MYSQL_USER=lychee
      3: MYSQL_PASSWORD={{ mysql_password }}
    volumes:
      - /var/lib/mysql
    networks:
      - lychee_network

  lychee:
    image: lycheeorg/lychee:latest
    container_name: {{ project_name }}_lychee
    restart: unless-stopped
    depends_on:
      - mysql
    ports:
      - "80"
    environment:
      0: DB_CONNECTION=mysql
      1: DB_HOST=mysql
      2: DB_PORT=3306
      3: DB_DATABASE=lychee
      4: DB_USERNAME=lychee
      5: DB_PASSWORD={{ mysql_password }}
      6: PUID=1000
      7: PGID=1000
    volumes:
      - /uploads
      - /sym
      - /config
    networks:
      - lychee_network

volumes:
  mysql_data:
    driver: local

  lychee_uploads:
    driver: local

  lychee_sym:
    driver: local

  lychee_config:
    driver: local

networks:
  lychee_network:
    driver: bridge