Outline: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
mNo edit summary
Line 19: Line 19:
     forceHttps = false;
     forceHttps = false;


     # Defined but not used in this minimal setup
     # Defined but not used in a minimal setup. Uploading files will
    # only work if you configure a sotrage backend (see below).
     storage = {
     storage = {
       accessKey = "outline";
       accessKey = "outline";
       secretKeyFile = "/var/lib/outline/storage_secret";
       secretKeyFile = "${pkgs.writeText "minio-secret" "test123"}";
       region = config.services.minio.region;
       region = config.services.minio.region;
       uploadBucketUrl = "http://127.0.0.1:9000";
       uploadBucketUrl = "http://127.0.0.1:9000";
Line 119: Line 120:
* Create a new bucket and name it, for example <code>outline</code>.
* Create a new bucket and name it, for example <code>outline</code>.
* Create a new user. For demonstration purpose call it <code>outline</code> with the password <code>outline123</code>
* Create a new user. For demonstration purpose call it <code>outline</code> with the password <code>outline123</code>
Bucket name (<code>outline</code>), user (or accessKey: <code>outline</code>) and password (or the content of secretKeyFile: <code>outline123</code>) have to match the storage configuration of the Outline module above.


== See also ==
== See also ==