From 8539ba184ca7f61337d9ce4291e6ad7f9bce8577 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 7 Feb 2021 13:06:23 +0100 Subject: [PATCH] Update README.md --- piwigo/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/piwigo/README.md b/piwigo/README.md index 996e06034..8dda846be 100644 --- a/piwigo/README.md +++ b/piwigo/README.md @@ -19,14 +19,17 @@ comparison to installing any other Hass.io add-on. 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/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 enable local files editor from the plugins page and use it to configure email settings etc. + Webui can be found at . ```yaml GUID: user GPID: user -ssl: true/false -certfile: fullchain.pem #ssl certificate -keyfile: privkey.pem #sslkeyfile localdisks: "sda1" # list of device to mount (optional) networkdisks: "" # list of smbv2/3 servers to mount (optional) cifsusername: "username" # smb username (optional)