Update README.md

This commit is contained in:
Alexandre
2021-02-07 13:06:23 +01:00
committed by GitHub
parent a0c1d5fdda
commit 8539ba184c

View File

@@ -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 <http://your-ip:81>.
```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: "<//SERVER/SHARE>" # list of smbv2/3 servers to mount (optional)
cifsusername: "username" # smb username (optional)