Working docker VM
Some checks are pending
/ Build Nix targets (push) Waiting to run

This commit is contained in:
Théo Barnouin 2025-05-14 14:44:37 +02:00
parent d8ccf817fe
commit e0622a450e
4 changed files with 8 additions and 4 deletions

View file

@ -65,6 +65,7 @@ in {
userland-proxy = false;
metrics-addr = "0.0.0.0:9323";
data-root = "/mnt/docker-data";
ipv6 = false;
};
};
oci-containers = {
@ -72,6 +73,7 @@ in {
containers = {
"gluetun" = {
autoStart = true;
hostname = "gluetun";
image = "ghcr.io/qdm12/gluetun:latest";
environmentFiles = ["${config.age.secrets.docker-gluetun-env.path}"];
environment = {
@ -85,7 +87,7 @@ in {
"gluetun_gluetun-config:/gluetun:rw"
];
ports = [
"8080:8080/tcp"
"8080:8080"
];
log-driver = "journald";
extraOptions = [
@ -122,9 +124,7 @@ in {
"gluetun"
];
log-driver = "journald";
extraOptions = [
"--network=container:gluetun"
];
extraOptions = ["--network=container:gluetun"];
};
"bazarr" = {
image = "linuxserver/bazarr";
@ -171,6 +171,7 @@ in {
"9696:9696/tcp"
];
log-driver = "journald";
extraOptions = ["--dns=192.168.1.90"];
};
"radarr" = {
image = "lscr.io/linuxserver/radarr:latest";

View file

@ -16,6 +16,7 @@
enable = true;
allowedTCPPorts = [22 6060 9002];
};
nameservers = ["192.168.1.90"];
};
boot.isContainer = true;

View file

@ -93,6 +93,7 @@ in {
enable = true;
allowedTCPPorts = [22 9002];
};
nameservers = ["192.168.1.90"];
};
time.timeZone = "Europe/Paris";

View file

@ -15,6 +15,7 @@
enable = true;
allowedTCPPorts = [22 6060 9002];
};
nameservers = ["192.168.1.90"];
};
time.timeZone = "Europe/Paris";