add collabora, add hydraJobs back in
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 7s
Check Nix formatting / Perform Nix format checks (pull_request) Successful in 2m39s
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (pull_request) Failing after 4m30s

This commit is contained in:
2025-03-02 17:15:15 -05:00
parent bd7826071c
commit 7c2798228b
3 changed files with 25 additions and 5 deletions

View File

@ -8,7 +8,7 @@ let
# nextcloud-image = import ./nextcloud-image { inherit pkgs; };
nextcloud-base = {
# image comes from running docker compose build in nextcloud-docker/.examples/full/apache
image = "nextcloud-nextcloud";
image = "nextcloud:stable";
hostname = "nextcloud";
volumes = [
"${nextcloud_path}/nc_data:/var/www/html:z"
@ -46,7 +46,7 @@ in
];
};
go-vod = {
image = "radialapps/go-vod";
image = "radialapps/go-vod:latest";
dependsOn = [ "nextcloud" ];
environment = {
NEXTCLOUD_HOST = "https://nextcloud.alicehuston.xyz";
@ -56,6 +56,21 @@ in
"--device=/dev/dri:/dev/dri"
];
};
collabora-code = {
image = "collabora/code:latest";
dependsOn = [ "nextcloud" ];
environment = {
aliasgroup1 = "https://collabora.nayenoie.com";
extra_params = "--o:ssl.enable=true";
};
environmentFiles = [
config.sops.secrets."docker/collabora".path
];
extraOptions = [
"--network=haproxy-net"
];
ports = [ "9980:80" ];
};
};
users.users.www-data = {
@ -80,6 +95,10 @@ in
owner = "www-data";
restartUnits = [ "docker-nextcloud.service" ];
};
"docker/collabora" = {
owner = "www-data";
restartUnits = [ "docker-collabora.service" ];
};
};
};
}