1 # Plausible {#module-services-plausible}
3 [Plausible](https://plausible.io/) is a privacy-friendly alternative to
6 ## Basic Usage {#module-services-plausible-basic-usage}
8 At first, a secret key is needed to be generated. This can be done with e.g.
10 $ openssl rand -base64 64
13 After that, `plausible` can be deployed like this:
16 services.plausible = {
19 # activate is used to skip the email verification of the admin-user that's
20 # automatically created by plausible. This is only supported if
21 # postgresql is configured by the module. This is done by default, but
22 # can be turned off with services.plausible.database.postgres.setup.
24 email = "admin@localhost";
25 passwordFile = "/run/secrets/plausible-admin-pwd";
28 baseUrl = "http://analytics.example.org";
29 # secretKeybaseFile is a path to the file which contains the secret generated
30 # with openssl as described above.
31 secretKeybaseFile = "/run/secrets/plausible-secret-key-base";