mirror of
https://github.com/genebean/dots.git
synced 2026-05-31 07:45:20 -04:00
Add dots.ports module: fleet-wide service port registry (nixnuc + hetznix01)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
84a5c695b0
commit
94fdc678e4
15 changed files with 353 additions and 135 deletions
|
|
@ -23,7 +23,7 @@ in
|
|||
services = {
|
||||
collabora-online = {
|
||||
enable = true;
|
||||
port = 9980; # default
|
||||
inherit (config.dots.ports.collabora) port;
|
||||
settings = {
|
||||
# Rely on reverse proxy for SSL
|
||||
ssl = {
|
||||
|
|
@ -51,7 +51,7 @@ in
|
|||
enable = true;
|
||||
configureNginx = true;
|
||||
environment = {
|
||||
PHOTON_API_HOST = "nixnuc.${config.private-flake.tailnetDomain}:2322";
|
||||
PHOTON_API_HOST = "nixnuc.${config.private-flake.tailnetDomain}:${toString config.dots.ports.photon.port}";
|
||||
PHOTON_API_USE_HTTPS = "false";
|
||||
};
|
||||
extraEnvFiles = [
|
||||
|
|
@ -122,7 +122,7 @@ in
|
|||
server = {
|
||||
baseUrl = "https://stats.${domain}";
|
||||
disableRegistration = true;
|
||||
port = 8001;
|
||||
inherit (config.dots.ports.plausible) port;
|
||||
# secretKeybaseFile is a path to the file which contains the secret generated
|
||||
# with openssl as described above.
|
||||
secretKeybaseFile = config.sops.secrets.plausible_secret_key_base.path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue