Lychee - Self-hosted photo-management system
Everything you need to deploy Lychee with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Lychee up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Lychee with:
blastdock init lychee
Interactive mode:
blastdock init lychee -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Lychee installation with these configuration options.
Web interface port
MySQL password
Complete Docker Compose configuration for Lychee deployment.
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