Self-hosted online image sharing tool for photographers to share photos with clients
10K+
Self-hosted online image sharing tool for photographers to share photos with clients.
services:
picr:
container_name: 'picr'
image: 'isaacinsoll/picr'
volumes:
- <path-to-your-shared-images>:/home/node/app/media:ro # read only access to your 'files i give to clients' folder
- ./cache:/home/node/app/cache #where PICR will store thumbnails it generates, no need to back it up
depends_on:
- db
ports:
- "6900:6900" # presumably reverse proxy will handle HTTPS
environment:
# - TOKEN_SECRET= # leave this out and on first build it will give you a very secret random string to put in here
- BASE_URL=https://clients.mysite.com/
- DATABASE_URL=postgres://user:pass@db/picr
- USE_POLLING=true
db:
image: postgres
container_name: picr-db
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
POSTGRES_DB: picr
volumes:
- ./data:/var/lib/postgresql/data #database storage, you should back this up
| Folder | Description |
|---|---|
| data | database (you should back this up!) |
| media | mount point containing folders of images, only need read access |
| cache | thumbnails, zip files built from your media (will be recreated if deleted) |
Go to http://:6900/admin and login with default login of admin / picr1234, change the account details, and start sharing your images!
You should use a SSL enabled reverse proxy to forward incoming requests to this container. For example I use https://picr.<my-domain-name>
Content type
Image
Digest
sha256:47d6645b4…
Size
271.4 MB
Last updated
about 1 month ago
docker pull isaacinsoll/picr