PictShare
★ 954About
Community Ratings
No ratings yetNew this week
Read recap →Features
- self-hosting
- simple upload API
- file-based storage
- image filters
- GIF to MP4 conversion
- JPEG/PNG to WebP conversion
- MP4 resizing
- EXIF stripping
- URL-based transforms
- duplicate detection
Details
- Last Updated
- Nov 23, 2026
- Created
- Oct 27, 2015
- Install Methods
- docker
- Requirements
- PHP 8.2+ffmpeg binary (configurable)optional S3 backend
- Default Port
- 8080web UI
- API
- REST
- Runtime / Stack
- PHPDocker
- Privacy & Independence
- Cloud: OptionalOffline Capable
- Deployment
Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container
Run PictShare yourself
Pick how much you want to manage.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
1 more way to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run PictShare with Docker Compose
Compose file from the PictShare project repository.
1 service
no resource limits declared
needs persistent storage (3 volumes)
docker-compose.yml · @ 3f9daf4 · scanned Nov 3, 2026
version: '3.9'
services:
pictshare:
image: 'HaschekSolutions/pictshare:3'
environment:
- URL=http://localhost:8080/
- MAX_UPLOAD_SIZE=20 #in MB
# Security settings
- ADMIN_PASSWORD= # password for the admin panel. if empty, admin panel is disabled
- ALLOWED_SUBNET= #IP address or subnet mask to allow upload and access to the admin panel
- CONTENTCONTROLLERS= # limit uploaded file types
- MASTER_DELETE_CODE= # code to delete all files
- MASTER_DELETE_IP= # IP address to delete all files even without delete code
- UPLOAD_FORM_LOCATION= # moves the upload form from / to whatever you set here
- UPLOAD_CODE= # if set, requires this code to upload files via api or web
- HTML_HOSTING_ENABLED=false # DANGER: lets HTML_UPLOAD_CODE holders serve arbitrary HTML/JS on this domain. See rtfm/CONFIG.md before enabling
- HTML_UPLOAD_CODE= # separate code required to publish HTML pages when HTML_HOSTING_ENABLED=true
# image settings settings
- ALLOW_BLOATING=false
- JPEG_COMPRESSION=
- PNG_COMPRESSION=
- ALWAYS_WEBP=false # if true, will always serve webp images if the request included the capability
# alternate folder. all uploads will also be copied to this folder
- ALT_FOLDER=
# s3 settings
- S3_BUCKET=
- S3_ACCESS_KEY=
- S3_SECRET_KEY=
- S3_ENDPOINT=
- S3_REGION=
# FTP settings
- FTP_SERVER=
- FTP_PORT=
- FTP_USER=
- FTP_PASS=
- FTP_PASSIVEMODE=
- FTP_SSL=
- FTP_BASEDIR=
# encryption settings
- ENCRYPTION_KEY=
# logging settings
- LOG_VIEWS=false
# caching
- REDIS_CACHING=true
- REDIS_SERVER=localhost
- REDIS_PORT=6379
ports:
- 8080:80
volumes:
- ./data:/app/public/data
- ./logs:/app/public/logs
- ./redis:/var/lib/redis # can be commeted out if REDIS_CACHING is set to false
This file may be out of date. Check the PictShare documentation for current setup steps.
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.