cdist-type__wikijs - Deploy the wiki.js software.
See wiki.js.org for more information. This type deploys with a postgresql database, since it is the upstream recommended for production, and they seem to strongly suggest that in the next releases, they will not support anything else.
Currently, this type servers wikijs as standalone, listening on ports 80 and 443, and with a service file for OpenRC. Feel free to contribute a generalisation if you require one.
The password to the PSQL database.
‘wikijs’ version to be deployed.
The name of the PSQL database to connect to. If omitted, then ‘wikijs’ is used.
The name of the PSQL database user to connec as. If omitted, then ‘wikijs’ is used.
If the SSL parameter is passed, then we setup wikijs to automatically obtain certificates: this is the email used to sign up to a LE account.
Specify HTTP port, defaults to 80.
Specify HTTPS port, defaults to 443. Only relevant if the SSL flag is enabled.
Whether or not to enable the wikijs automatic obtention of LE certificates.
Copyright (C) 2020 Joachim Desroches. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.