mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
61 lines
4.1 KiB
Markdown
61 lines
4.1 KiB
Markdown
## ⚠ Open Issue : [🐛 [piwigo] cifs mount is on /mnt/ and piwigo data location is in /gallery (opened 2025-01-20)](https://github.com/alexbelgium/hassio-addons/issues/1734) by [@lpt2007](https://github.com/lpt2007)
|
|
# Home assistant add-on: Piwigo
|
|
|
|
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
|
[![Donate][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
|
|
|

|
|

|
|

|
|
|
|
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
|
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
|
|
|
|
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20(no%20paypal)-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
|
[paypal-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20with%20Paypal-0070BA?logo=paypal&style=flat&logoColor=white
|
|
|
|
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
|
|
|
|
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
|
|
|

|
|
|
|
## About
|
|
|
|
Piwigo is a photo gallery software for the Web.
|
|
This addon is based on the [docker image](https://github.com/linuxserver/piwigo) from linuxserver.io.
|
|
|
|
## Installation
|
|
|
|
The installation of this add-on is pretty straightforward and not different in
|
|
comparison to installing any other Hass.io add-on.
|
|
|
|
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
|
|
1. Install this add-on.
|
|
1. Click the `Save` button to store your configuration.
|
|
1. Start the add-on.
|
|
1. Check the logs of the add-on to see if everything went well.
|
|
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
|
|
|
|
## Configuration
|
|
|
|
1. You must create a user and database for piwigo to use in a mysql/mariadb server.
|
|
1. In the setup page for database, use the ip address rather than hostname.
|
|
1. A basic nginx configuration file can be found in /config/piwigo/nginx/site-confs, edit the file to enable ssl (port 443 by default), set servername etc.
|
|
1. Self-signed keys are generated the first time you run the container and can be found in /data/keys, if needed, you can replace them with your own.
|
|
1. The easiest way to edit the configuration file is to go in /config/piwigo from home assistant local files editor to configure email settings etc.
|
|
|
|
Webui can be found at <http://homeassistant:81>.
|
|
|
|
```yaml
|
|
PGID: user
|
|
GPID: user
|
|
localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS...
|
|
networkdisks: "<//SERVER/SHARE>" # list of smbv2/3 servers to mount (optional)
|
|
cifsusername: "username" # smb username (optional)
|
|
cifspassword: "password" # smb password (optional)
|
|
```
|
|
|
|
[repository]: https://github.com/alexbelgium/hassio-addons
|