feat(nextcloud): Update collabora and settings
All checks were successful
build configuration / build_rescue01 (push) Successful in 1m29s
build configuration / build_storage01 (push) Successful in 1m31s
build configuration / build_vault01 (push) Successful in 1m32s
build configuration / build_web02 (push) Successful in 1m36s
lint / check (push) Successful in 24s
build configuration / build_web01 (push) Successful in 2m1s
build configuration / build_compute01 (push) Successful in 2m20s
build configuration / push_to_cache (push) Successful in 3m57s
All checks were successful
build configuration / build_rescue01 (push) Successful in 1m29s
build configuration / build_storage01 (push) Successful in 1m31s
build configuration / build_vault01 (push) Successful in 1m32s
build configuration / build_web02 (push) Successful in 1m36s
lint / check (push) Successful in 24s
build configuration / build_web01 (push) Successful in 2m1s
build configuration / build_compute01 (push) Successful in 2m20s
build configuration / push_to_cache (push) Successful in 3m57s
This commit is contained in:
parent
5279356835
commit
9f7ddf2adf
1 changed files with 10 additions and 12 deletions
|
@ -14,17 +14,11 @@ in
|
||||||
https = true;
|
https = true;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
overwriteProtocol = "https";
|
|
||||||
|
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
|
|
||||||
adminpassFile = config.age.secrets."nextcloud-adminpass_file".path;
|
adminpassFile = config.age.secrets."nextcloud-adminpass_file".path;
|
||||||
adminuser = "thubrecht";
|
adminuser = "thubrecht";
|
||||||
|
|
||||||
defaultPhoneRegion = "FR";
|
|
||||||
|
|
||||||
trustedProxies = [ "::1" ];
|
|
||||||
|
|
||||||
objectstore.s3 = {
|
objectstore.s3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -71,11 +65,17 @@ in
|
||||||
|
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
|
|
||||||
extraOptions = {
|
settings = {
|
||||||
|
overwriteprotocol = "https";
|
||||||
|
|
||||||
overwritehost = host;
|
overwritehost = host;
|
||||||
"overwrite.cli.url" = "https://${host}";
|
"overwrite.cli.url" = "https://${host}";
|
||||||
updatechecker = false;
|
updatechecker = false;
|
||||||
|
|
||||||
|
default_phone_region = "FR";
|
||||||
|
|
||||||
|
trusted_proxies = [ "::1" ];
|
||||||
|
|
||||||
allow_local_remote_servers = true;
|
allow_local_remote_servers = true;
|
||||||
maintenance_window_start = 1;
|
maintenance_window_start = 1;
|
||||||
|
|
||||||
|
@ -97,15 +97,12 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
# # Since 22.05, the default driver is podman but it doesn't work
|
|
||||||
# # with podman. It would however be nice to switch to podman.
|
|
||||||
# backend = "docker";
|
|
||||||
containers.collabora = {
|
containers.collabora = {
|
||||||
image = "collabora/code";
|
image = "collabora/code";
|
||||||
imageFile = pkgs.dockerTools.pullImage {
|
imageFile = pkgs.dockerTools.pullImage {
|
||||||
imageName = "collabora/code";
|
imageName = "collabora/code";
|
||||||
imageDigest = "sha256:a8cce07c949aa59cea0a7f1f220266a1a6d886c717c3b5005782baf6f384d645";
|
imageDigest = "sha256:07da8a191b37058514dfdf921ea8c2270c6634fa659acee774cf8594f86950e4";
|
||||||
sha256 = "sha256-lN6skv62x+x7G7SNOUyZ8W6S/uScrkqE1nbBwwSEWXQ=";
|
sha256 = "sha256-5oaz07NQScHUVN/HznzZGQ2bGrU/V1GhI+9btXHz0GM=";
|
||||||
};
|
};
|
||||||
ports = [ "9980:9980" ];
|
ports = [ "9980:9980" ];
|
||||||
environment = {
|
environment = {
|
||||||
|
@ -113,6 +110,7 @@ in
|
||||||
extra_params = "--o:ssl.enable=false --o:ssl.termination=true --o:remote_font_config.url=https://cloud.dgnum.eu/apps/richdocuments/settings/fonts.json";
|
extra_params = "--o:ssl.enable=false --o:ssl.termination=true --o:remote_font_config.url=https://cloud.dgnum.eu/apps/richdocuments/settings/fonts.json";
|
||||||
};
|
};
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
|
"--network=host"
|
||||||
"--cap-add"
|
"--cap-add"
|
||||||
"MKNOD"
|
"MKNOD"
|
||||||
"--cap-add"
|
"--cap-add"
|
||||||
|
|
Loading…
Reference in a new issue