Finish moving everything out of compose

This commit is contained in:
Lauren Lagarde 2025-08-03 17:46:33 -05:00
parent a258f7ef70
commit 74929a0aa6

View file

@ -191,34 +191,44 @@
]; ];
}; };
virtualisation.oci-containers.backend = "docker"; virtualisation.oci-containers.containers.haproxy = {
virtualisation.oci-containers.containers = { image = "haproxy:2.6-alpine";
dockge = { ports = [
image = "louislam/dockge"; "80:80"
ports = [ "443:443"
"10.86.84.1:5001:5001" "8448:8448"
]; "9980:9980"
volumes = [ ];
"/var/run/docker.sock:/var/run/docker.sock" volumes = [
"/opt/stacks/dockge/data:/app/data" "/run/secrets/dotspace/pki:/certs"
"/root/.docker/:/root/.docker" "/home/lauren_lagarde/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg"
"/opt/stacks:/opt/stacks" ];
];
environment = {
DOCKGE_STACKS_DIR = "/opt/stacks";
};
};
dozzle = {
image = "amir20/dozzle:latest";
ports = [
"10.86.84.1:9999:8080"
];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
];
};
}; };
virtualisation.oci-containers.containers.dnsmasq = {
image = "jpillora/dnsmasq";
ports = [
"10.86.84.1:53:53/udp"
"10.86.84.1:5380:8080"
];
volumes = [ "/home/lauren_lagarde/dnsmasq.conf:/etc/dnsmasq.conf" ];
capabilities = { NET_ADMIN = true; };
};
virtualisation.oci-containers.containers.httpd = {
image = "httpd:latest";
ports = [ "10.86.84.1:8080:80" ];
volumes = [ "/home/lauren_lagarde/httpd/dotspace:/usr/local/apache2/htdocs" ];
};
virtualisation.oci-containers.containers.dozzle = {
image = "amir20/dozzle:latest";
ports = [ "10.86.84.1:9999:8080" ];
volumes = [ "/var/run/docker.sock:/var/run/docker.sock" ];
};
virtualisation.oci-containers.backend = "docker";
############################################################################## ##############################################################################
############################################################################## ##############################################################################
############################################################################## ##############################################################################