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, ...}: {
networking.firewall.allowedTCPPorts = [80 22 443 8009];
networking.firewall.allowedTCPPorts = [80 22 443 8009 222];
}

View file

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