Sign inSign up

isaacinsoll/picr

By isaacinsoll

•Updated about 1 month ago

Self-hosted online image sharing tool for photographers to share photos with clients

Image
Content management system
0

10K+

isaacinsoll/picr repository overview

⁠Picr

Self-hosted online image sharing tool for photographers to share photos with clients.

View Picr on GitHub⁠

Picr Manual⁠

Picr Install Instructions⁠

⁠Sample Docker Compose File

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

⁠Mounts

FolderDescription
datadatabase (you should back this up!)
mediamount point containing folders of images, only need read access
cachethumbnails, zip files built from your media (will be recreated if deleted)

⁠How to use

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>

Tag summary

Content type

Image

Digest

sha256:47d6645b4…

Size

271.4 MB

Last updated

about 1 month ago

docker pull isaacinsoll/picr