Create a personal photo gallery designed for photographers and anyone wanting to self-host their media library. It provides a fast and simple way to navigate thousands of high-resolution photos and videos directly from your own server.
The core principle is its direct integration with your file system. You simply point the software to your media directories, and it automatically organizes everything based on your folder structure. Directories become albums, and the gallery stays updated by automatically scanning for new files. This gives you complete control to organize your media using the tools you already know.
It's built for more than just one person. You can set up multiple user accounts, each with their own private media directory. Sharing is also straightforward, allowing you to generate public or password-protected links for specific albums, photos, or videos.
Key features include:
services:
db:
image: mariadb:10.5
restart: always
environment:
- MYSQL_DATABASE=photoview
- MYSQL_USER=photoview
- MYSQL_PASSWORD=${DB_PASSWORD}
- MYSQL_RANDOM_ROOT_PASSWORD=1
volumes:
- ./db-data:/var/lib/mysql
photoview:
image: viktorstrate/photoview:2
restart: always
ports:
- "8000:80"
depends_on:
- db
environment:
- PHOTOVIEW_DATABASE_DRIVER=mysql
- PHOTOVIEW_MYSQL_URL=photoview:${DB_PASSWORD}@tcp(db)/photoview
- PHOTOVIEW_LISTEN_IP=photoview
- PHOTOVIEW_LISTEN_PORT=80
- PHOTOVIEW_MEDIA_CACHE=/app/cache
volumes:
- ./api-cache:/app/cache
- ./photos:/photos:roDB_PASSWORD=your_super_secret_database_passwordAuto-fetched about 24 hours ago
Auto-fetched about 24 hours ago