owncast: mount archive
This commit is contained in:
parent
0f3810ddd8
commit
592d79a9e0
|
@ -2,9 +2,13 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
deployment = {
|
deployment = {
|
||||||
persistedShares = [ "/etc" "/home" "/var" ];
|
|
||||||
vcpu = 8;
|
vcpu = 8;
|
||||||
mem = 2048;
|
mem = 2048;
|
||||||
|
persistedShares = [ "/etc" "/home" "/var" ];
|
||||||
|
extraShares = [ {
|
||||||
|
source = "/glusterfs/big/microvms/c3d2/config/owncast/archive";
|
||||||
|
mountPoint = "/mnt/archive";
|
||||||
|
} ];
|
||||||
};
|
};
|
||||||
c3d2.hq.statistics.enable = true;
|
c3d2.hq.statistics.enable = true;
|
||||||
|
|
||||||
|
@ -35,6 +39,13 @@
|
||||||
proxyPass = "http://127.0.0.1:${toString port}";
|
proxyPass = "http://127.0.0.1:${toString port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
locations."/archive" = {
|
||||||
|
root = "/mnt/archive";
|
||||||
|
extraConfig = ''
|
||||||
|
fancyindex on;
|
||||||
|
fancyindex_exact_size off;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue