os/hosts/flora-6/collabora.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
805 B
Nix
Raw Normal View History

2023-09-13 08:25:23 +00:00
{
config,
lib,
pkgs,
self,
...
}: {
virtualisation = {
docker = {
enable = true; # sadly podman is not supported rightnow
extraOptions = ''
--data-root /data/docker
'';
};
oci-containers = {
backend = "docker";
containers."collabora" = {
image = "collabora/code";
autoStart = true;
ports = [
"9980:9980"
];
extraOptions = [
2023-09-15 10:15:57 +00:00
"--cap-add=MKNOD"
"--pull=always"
2023-09-13 08:25:23 +00:00
];
environment = {
server_name = "collabora.pub.solar";
2023-09-15 10:15:57 +00:00
aliasgroup1 = "https://cloud.pub.solar:443";
2023-09-13 08:25:23 +00:00
DONT_GEN_SSL_CERT = "1";
extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
SLEEPFORDEBUGGER = "0";
};
};
};
};
}