Make secret path configurable (mainly for container support).
'/secret/hostName' is still required.
This commit is contained in:
parent
7d70e000ce
commit
fd14a260c0
8 changed files with 18 additions and 11 deletions
|
@ -11,12 +11,12 @@ mkIf (elem "nextcloud" config.machine.services) {
|
|||
maxUploadSize = "1024M";
|
||||
config = {
|
||||
adminuser = "derped";
|
||||
adminpassFile = "/secret/nextcloud_admin";
|
||||
adminpassFile = "${config.machine.secretPath}/nextcloud_admin";
|
||||
dbtype = "mysql";
|
||||
dbhost = "localhost";
|
||||
dbport = "3306";
|
||||
dbuser = "nextcloud";
|
||||
dbpassFile = "/secret/nextcloud_db";
|
||||
dbpassFile = "${config.machine.secretPath}/nextcloud_db";
|
||||
dbname = "nextcloud";
|
||||
dbtableprefix = "oc_";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue