An alpine based container to easily deploy piwigo !
You can follow the install guide and the update guide to get your container setup and up to date.
Users comming from LinuxServer can follow this guide : https://github.com/Piwigo/piwigo-docker/wiki/Migration-Guide-from-the-LinuxServer
If you want to have write permision in your piwigo folder see this page of the wiki : https://github.com/Piwigo/piwigo-docker/wiki/Copying-files-directly-to-piwigo-docker
If you prefer using a mysql container instead of mariadb edit compose.yaml and replace mariadb by mysql (be aware it is case sensitive).
If you want to use an existing MySQL/MariaDB database you already setup, use compose-nodb.yaml and rename it compose.yaml.
You can either create .env with piwigo_port= or manually edit the compose file to change the exposed port.
Create a script at ./piwigo-data/scripts/user.sh to run commands before nginx and php start.
eg: to install extra dependencies like pandoc apk add --no-cache pandoc, available packages are listed at alpine pkg index.
Note that the script is run as root.
Two containers :
- Alpine with nginx and php-fpm
- MariaDB
PHP modules are installed with alpine natives packages, php-fpm is running with the same user as nginx.
Container network trafic is internal in the piwigo-network bridge.
All persistent data is stored in ./piwigo-data/ :
piwigopiwigo files, when a new version is released, new files will be copied overmysqldatabase files from the mariaDB/mysqlscriptsallow user to sideload dependencies and other files outside of piwigo