Installation
The fastest way to get Lychee running is with Docker Compose. A single command gets you a fully working gallery with a database, ready to use.
Quick Start
Section titled “Quick Start”Download the minimal compose file and start Lychee:
curl -O https://raw.githubusercontent.com/LycheeOrg/Lychee/master/docker-compose.minimal.yamldocker compose -f docker-compose.minimal.yaml up -dLychee is now running at http://localhost:8000.
On first visit, you will be prompted to create an admin account.
What’s Included
Section titled “What’s Included”The minimal compose file sets up:
- Lychee with FrankenPHP (the modern, high-performance runtime)
- MariaDB as the database
- Persistent storage for your photos and database
Next Steps
Section titled “Next Steps”Once Lychee is running:
- Create your admin account on first visit
- Upload your first photos via the web interface
- Configure your instance — see Configuration and Settings
For production deployments, you should:
- Set a proper
APP_URLandAPP_KEY— see Configuration - Put Lychee behind a reverse proxy with TLS (nginx, Traefik, or Caddy)
- Use the full Docker Compose template with workers for better performance
Alternative: Manual Installation
Section titled “Alternative: Manual Installation”If you cannot use Docker, Lychee can be installed manually on a server with PHP, a web server, and a database. See the Manual Installation guide.
