Video coming soon…
🛠️ Setup Lychee — Self-Hosted Photo Album Manager
Deploy Lychee on Ubuntu with Docker — a fast, clean self-hosted photo gallery for organising albums and sharing photos, using SQLite with no separate database, on port 8184.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/lychee/lychee-ubuntu.sh
chmod +x lychee-ubuntu.sh
sudo bash lychee-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/tools/lychee/lychee-ubuntu.sh
2 Make it Executable
chmod +x lychee-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts lycheeorg/lychee on port 8184 with DB_CONNECTION set to sqlite, so there's no separate database, and volumes for uploads, config, and logs.
sudo bash lychee-ubuntu.sh
4 Create the Admin Account
Open Lychee and create the admin account on first visit, then start uploading photos into albums:
http://<your-server-ip>:8184
Ports Used
| Port | Purpose |
|---|---|
| 8184 | Web UI (host → container 80) — admin created on first visit |
| DB_CONNECTION | sqlite — no separate MySQL/MariaDB container |
| ./uploads | Your photos (also ./conf, ./sym, ./logs) |