Coder Social home page Coder Social logo

bushyasta / pictshare-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hascheksolutions/pictshare-docker

0.0 1.0 0.0 16 KB

Official docker image for PictShare. Based on Alpine and PHP 7

Home Page: https://pictshare.net

Shell 100.00%

pictshare-docker's Introduction

Official PictShare Docker image - Now based on Alpine Linux and PHP 7

The fastest way to deploy PictShare

It automatically updates on start unless you supply the env variable AUTOUPDATE=false

Docker setup

Usage

Quick start

docker run -d -p 80:80 --name=pictshare hascheksolutions/pictshare

Persistent data

mkdir /data/pictshareuploads
chown 1000 -R /data/pictshareuploads
docker run -d -v /data/pictshareuploads:/usr/share/nginx/html/upload -p 80:80 --name=pictshare hascheksolutions/pictshare

Persistent data with increased max upload size

mkdir /data/pictshareuploads
chown 1000 -R /data/pictshareuploads
docker run -d -e "MAXUPLOADSIZE=1024" -v /data/pictshareuploads:/usr/share/nginx/html/upload -p 80:80 --name=pictshare hascheksolutions/pictshare

ENV Variables

  • TITLE (string | Title of the page)
  • PNGCOMPRESSION (int | 0-9 how much compression is used. note that this never affects quality. default: 6)
  • JPEGCOMPRESSION (int | 0-100 how high should the quality be? More is better. default: 90)
  • AUTOUPDATE (true/false | should the container upgrade on every start? default: true)
  • MAXUPLOADSIZE (int | size in MB that will be used for nginx. default 50)
  • MASTERDELETECODE (string | code if added to any url, will delete the image)
  • BLOATING (true/false | can images be bloated to higher resolutions than the originals)
  • UPLOADCODE (string | code that has to be supplied to upload an image)
  • UPLOADPATH (string | absolute path where upload gui will be shown)
  • LOWPROFILE (string | won't display error messages on failed uploads)
  • IMAGECHANGECODE (string | code if provided, needs to be added to image to apply filter/rotation/etc)
  • LOGUPLOADER (true/false | log IPs of uploaders)
  • MAXRESIZEDIMAGES (int | how many versions of a single image may exist? -1 for infinite)
  • DOMAIN (string | force all URLs to domain)
  • SHOWERRORS (true/false | show upload/size/server errors?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.