PicInch Gallery provides a simple way for a group of members, such as a photography club, to display their photographs.


Installation and Setup

Docker Repository

View the Project on GitHub inchworks/picinch

Step 3: Commands


docker-compose up -d When issued the first time, sets up the database, creates the directories to hold content and certificates (in/srv/picinch/), and starts PicInch. On later invocations, checks for updates and configuration changes to PicInch, and restarts it if needed.

docker-compose restart Restarts PicInch, reading any changes to configuration.yml and site-specific templates.

docker-compose logs --tail=100 View the last e.g. 100 entries in application logs. Look here for any startup errors, as well as details of security threats.

To pull updated images from Docker Hub:

  1. Stop the service.
  2. docker-compose pull to fetch updated images from Docker Hub.
  3. Restart the service.

For new features, check Docker Hub for an inchworks/picinch image tagged 1.0, 1.1, 2.0 etc, and edit docker-compose.yml to match. A different major version number for PicInch indicates that configuration changes will be needed.


If you wish to delete all site content and start again, stop the server, delete /srv/picinch/mysql and /srv/picinch/photos, and restart the server.