hedgedoc: fixed perms
This commit is contained in:
parent
73ce586206
commit
3b85e28870
2 changed files with 8 additions and 5 deletions
|
@ -32,6 +32,8 @@
|
||||||
database.type = "postgres";
|
database.type = "postgres";
|
||||||
ssh.clonePort = 42;
|
ssh.clonePort = 42;
|
||||||
disableRegistration = true;
|
disableRegistration = true;
|
||||||
|
cookieSecure = true;
|
||||||
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
ui = {
|
ui = {
|
||||||
|
|
|
@ -57,8 +57,9 @@ in
|
||||||
config.services.hedgedoc.configuration.domain
|
config.services.hedgedoc.configuration.domain
|
||||||
"hedgedoc"
|
"hedgedoc"
|
||||||
];
|
];
|
||||||
|
allowAnonymous = false;
|
||||||
allowEmailRegister = false;
|
allowEmailRegister = false;
|
||||||
allowAnonymousEdits = false;
|
allowAnonymousEdits = true;
|
||||||
allowFreeURL = true;
|
allowFreeURL = true;
|
||||||
requireFreeURLAuthentication = true;
|
requireFreeURLAuthentication = true;
|
||||||
imageUploadType = "minio";
|
imageUploadType = "minio";
|
||||||
|
@ -76,10 +77,10 @@ in
|
||||||
accessKey = "$MINIO_ACCESS_KEY";
|
accessKey = "$MINIO_ACCESS_KEY";
|
||||||
secretKey = "$MINIO_SECRET_KEY";
|
secretKey = "$MINIO_SECRET_KEY";
|
||||||
};
|
};
|
||||||
github = {
|
# github = {
|
||||||
clientID = "$GITHUB_CLIENTID";
|
# clientID = "$GITHUB_CLIENTID";
|
||||||
clientSecret = "$GITHUB_CLIENTSECRET";
|
# clientSecret = "$GITHUB_CLIENTSECRET";
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue