+68
packetmix/systems/redhead/nextcloud-docker-dev.nix
+68
packetmix/systems/redhead/nextcloud-docker-dev.nix
···
1
+
# SPDX-FileCopyrightText: 2025 Collabora Productivity Limited
2
+
#
3
+
# SPDX-License-Identifier: MIT
4
+
5
+
{
6
+
networking.hosts = {
7
+
"127.0.0.1" = [
8
+
"nextcloud.local"
9
+
"nextcloud2.local"
10
+
"nextcloud3.local"
11
+
"stable16.local"
12
+
"stable17.local"
13
+
"stable18.local"
14
+
"stable19.local"
15
+
"stable20.local"
16
+
"stable21.local"
17
+
"stable22.local"
18
+
"stable23.local"
19
+
"stable24.local"
20
+
"stable25.local"
21
+
"stable26.local"
22
+
"stable27.local"
23
+
"stable28.local"
24
+
"stable29.local"
25
+
"stable30.local"
26
+
"stable31.local"
27
+
"stable32.local"
28
+
"mail.local"
29
+
"sso.local"
30
+
"imap.local"
31
+
"collabora.local"
32
+
"codedev.local"
33
+
"onlyoffice.local"
34
+
"proxy.local"
35
+
"hpb.local"
36
+
"push.local"
37
+
"keycloak.local"
38
+
"portal.local"
39
+
"gs1.local"
40
+
"gs2.local"
41
+
"lookup.local"
42
+
"elasticsearch.local"
43
+
"elasticsearch-ui.local"
44
+
"pgadmin.local"
45
+
"phpmyadmin.local"
46
+
"talk-signaling.local"
47
+
"talk-recording.local"
48
+
];
49
+
};
50
+
51
+
services.nginx.virtualHosts."nextcloud.docker.dev.redhead.starrysky.fyi" = {
52
+
addSSL = true;
53
+
enableACME = true;
54
+
acmeRoot = null;
55
+
56
+
locations."/" = {
57
+
proxyPass = "http://127.0.0.1:8062";
58
+
recommendedProxySettings = true;
59
+
proxyWebsockets = true;
60
+
};
61
+
};
62
+
63
+
security.acme.certs."nextcloud.docker.dev.redhead.starrysky.fyi" = {
64
+
dnsProvider = "cloudflare";
65
+
environmentFile = "/secrets/acme/environmentFile";
66
+
email = "skyler.grey@collabora.com";
67
+
};
68
+
}
+6
packetmix/systems/redhead/nextcloud.nix
+6
packetmix/systems/redhead/nextcloud.nix