try to start ubuntu
This commit is contained in:
parent
4b795d5703
commit
fea35336c7
2 changed files with 18 additions and 10 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
networking.firewall.allowedTCPPorts = [80 22 443 8009];
|
networking.firewall.allowedTCPPorts = [80 22 443 8009 222];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue