initial work on iu + more compose refactoring

This commit is contained in:
ari committed 2026-07-13 22:25:23 -04:00
1 parent 4f716499c9
commit 1e8cf01461
6 files changed
+82 -12

No files matched your search

+2 -4
View File
@@ -225,10 +225,8 @@ in
PUID = "1000";
PGID = "100";
};
extraConfig = {
shm_size = "1g";
extra_hosts = [ "host.docker.internal:host-gateway" ];
};
shm_size = "1g";
extra_hosts = [ "host.docker.internal:host-gateway" ];
};
};
# Signal CLI
+36 -2
View File
@@ -1,9 +1,12 @@
{ ... }:
{ config, ... }:
let
ports = {
audiobookshelf = 8000;
nixServe = 5000;
dockerRegistry = 5001;
postgres = 5432;
ssh = 22;
iu = 1947;
};
gitea = {
user = "gitea";
@@ -18,7 +21,9 @@ let
ports.audiobookshelf
gitea.sshPort
gitea.httpPort
22
ports.postgres
ports.ssh
ports.iu
];
in
{
@@ -88,6 +93,35 @@ in
};
};
skyg.nixos.common.container-services.iu = {
services = {
db = {
image = "postgres:18";
ports = [
"${toString ports.postgres}:5432"
];
volumes = [
"/var/lib/iu:/opt/data"
];
environmentFiles = [ config.age.secrets.iu-project.path ];
networks = [ "main" ];
};
iu = {
image = "minipc1.lab.internal:5001/iu:2026.07.12-ac2c604";
ports = [
"${toString ports.iu}:1947"
];
volumes = [
];
environmentFiles = [
];
networks = [
"main"
];
};
};
};
# Certbot TLS service
skyg.server.dns.certbot = {
enable = false;
+1 -4
View File
@@ -67,10 +67,7 @@
"scrypted-nvr:/nvr"
];
environment.SCRYPTED_NVR_VOLUME = "/nvr";
extraConfig = {
network_mode = "host";
networks = [ ];
};
network_mode = "host";
};
volumes = {
scrypted-nvr = {