Sign inSign up

gmaniac/piwigo

By gmaniac

Updated 4 months ago

Image
0

3.0K

gmaniac/piwigo repository overview

This project is partially maintained.


Mathieu stopped mainting due to: I've stopped using piwigo due to bugs never fixed. You can export and rebuild your virtual albums structure into file directory with this tools: https://github.com/mathieuruellan/piwigo-exporter

I have forked his repo and update to current piwigo version, as far as possible. Latest Changes:

  • upgrade piwigo-Version to 16.2.0
  • upgrade to php85-fpm-alpine (which is 3.23)

Piwigo-Docker

This is an image for piwigo, linked with a mysql database. Data must be stored on a volume.

Features

  • Easy deployment of Piwigo with a docker-compose.

Deployment

Edit this docker-compose.yml and launch with the command

mkdir -p ./piwigo/data/local/config
chmod -R 0777 ./piwigo
 docker-compose up -d 
services:
  mariadb:
    image: mariadb:latest
    volumes:
        - ./piwigo/mysql/:/var/lib/mysql
    environment:
        - MARIADB_ROOT_PASSWORD=piwigo
        - MARIADB_DATABASE=piwigo
        - MARIADB_USER=piwigo
        - MARIADB_PASSWORD=piwigo
  piwigo:
    image: mathieuruellan/piwigo
    environment:
        - BASH_MODE=set -e
    depends_on:
        - mariadb
    volumes:
        - ./piwigo/data/galleries:/var/www/galleries
        - ./piwigo/data/local:/var/www/local
        - ./piwigo/data/plugins:/var/www/plugins
        - ./piwigo/data/themes:/var/www/themes
        - ./piwigo/cache:/var/www/_data/i
        - ./piwigo/upload:/var/www/upload
        - ./var/log:/var/log
        - ./var/log/piwigo:/var/log/apache2
    ports:
        - "9999:80"
    hostname: localhost
    domainname: mydomain

After db initialization (first launch), environment variables can me removed.

EDIT: installation with version 13.x from scratch seems to be broken. Install with mathieuruellan/piwigo:12.3.0 first and upgrade

Tag summary

Content type

Image

Digest

sha256:a5ef573f2

Size

144.6 MB

Last updated

4 months ago

docker pull gmaniac/piwigo