try to start ubuntu

This commit is contained in:
Philip Peterson 2024-12-07 01:54:11 -09:00
parent 4b795d5703
commit fea35336c7
No known key found for this signature in database
GPG key ID: 354311183FC6519B
2 changed files with 18 additions and 10 deletions

View file

@ -1,3 +1,3 @@
{pkgs, ...}: { {pkgs, ...}: {
networking.firewall.allowedTCPPorts = [80 22 443 8009]; networking.firewall.allowedTCPPorts = [80 22 443 8009 222];
} }

View file

@ -110,14 +110,15 @@ in {
backend = "docker"; backend = "docker";
containers = { containers = {
"hello" = { # Example:
autoStart = true; # "hello" = {
image = "nginxdemos/hello"; # autoStart = true;
#user = "root:jellyfin"; # image = "nginxdemos/hello";
volumes = [ # #user = "root:jellyfin";
]; # volumes = [
ports = ["8081:80"]; # ];
}; # ports = ["8081:80"];
# };
"navidrome" = { "navidrome" = {
autoStart = true; autoStart = true;
@ -142,7 +143,6 @@ in {
"webdav" = { "webdav" = {
autoStart = true; autoStart = true;
image = "dgraziotin/nginx-webdav-nononsense"; image = "dgraziotin/nginx-webdav-nononsense";
#user = "root:jellyfin";
volumes = [ volumes = [
"/mnt/webdav/data:/data" "/mnt/webdav/data:/data"
"/mnt/webdav/config:/config" "/mnt/webdav/config:/config"
@ -158,6 +158,14 @@ in {
}; };
ports = ["8082:80"]; ports = ["8082:80"];
}; };
"ubuntu" = {
autoStart = true;
image = "quineglobal/ubuntu-with-ssh";
volumes = [ ];
environment = {};
ports = ["222:22"];
};
}; };
}; };