1

Hide many services inside docker network without exposing ports

This commit is contained in:
2023-09-12 16:00:39 +02:00
parent f56055b400
commit e5040ba53d
15 changed files with 91 additions and 57 deletions

View File

@ -9,7 +9,7 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [];
@ -26,6 +26,7 @@
extraOptions = [
# "--gpus=all"
"--network=behind-nginx"
];
};
}

View File

@ -9,20 +9,22 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"5000:5000"
# "5000:5000"
];
volumes = [
"/media/Video:/media/Video"
"/media/Movie:/media/Movie"
"/media/Show:/media/Show"
"fileflows_temp:/temp"
"fileflows_config:/app/Data"
"fileflows_logs:/app/Logs"
"fileflows_config:/app/Data"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
@ -34,6 +36,7 @@
extraOptions = [
"--gpus=all"
"--net=behind-nginx"
];
};
}

View File

@ -9,20 +9,23 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"3000:3000"
# "3000:3000"
];
volumes = [
"homepage_config:/app/config"
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
environment = {};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,12 +9,12 @@
autoStart = true;
dependsOn = [
"pihole"
"sabnzbd"
# "pihole"
# "sabnzbd"
];
ports = [
"5076:5076"
# "5076:5076"
];
volumes = [
@ -27,6 +27,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,7 +9,7 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
@ -20,6 +20,7 @@
"/media/Music:/data/music"
"/media/Show:/data/tvshows"
"/media/Movie:/data/movies"
"jellyfin_config:/config"
];
@ -27,12 +28,13 @@
PUID = "3000";
PGID = "3000";
TZ = "Europe/Berlin";
# NVIDIA_VISIBLE_DEVICES = "all";
# NVIDIA_DRIVER_CAPABILITIES = "all";
NVIDIA_VISIBLE_DEVICES = "all";
NVIDIA_DRIVER_CAPABILITIES = "all";
};
extraOptions = [
# "--gpus=all"
"--gpus=all"
"--net=behind-nginx"
];
};
}

View File

@ -9,10 +9,10 @@
autoStart = true;
dependsOn = [
"pihole"
"sonarr"
"radarr"
"jellyfin"
# "pihole"
# "sonarr"
# "radarr"
# "jellyfin"
];
ports = [
@ -27,6 +27,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,11 +9,11 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"443:443"
# "443:443"
];
volumes = [
@ -27,6 +27,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -11,11 +11,10 @@
dependsOn = [];
ports = [
# Not required with --net=host
# "53:53/tcp"
# "53:53/udp"
"53:53/tcp"
"53:53/udp"
# "67:67/udp" # Only for DHCP server
# "80:80/tcp"
# "3080:80/tcp" # Webinterface
];
volumes = [
@ -30,8 +29,9 @@
};
extraOptions = [
"--cap-add=NET_ADMIN" # Only for DHCP server
"--net=host" # For DHCP broadcast
# "--cap-add=NET_ADMIN" # Only for DHCP server
# "--net=host" # For DHCP broadcast
"--net=behind-nginx"
];
};
}

View File

@ -11,17 +11,20 @@
dependsOn = [];
ports = [
"8000:8000"
"9443:9443"
# "8000:8000"
# "9443:9443"
];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
"portainer_config:/data"
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,11 +9,11 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"9696:9696"
# "9696:9696"
];
volumes = [
@ -26,6 +26,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,18 +9,19 @@
autoStart = true;
dependsOn = [
"pihole"
"sabnzbd"
"prowlarr"
# "pihole"
# "sabnzbd"
# "prowlarr"
];
ports = [
"7878:7878"
# "7878:7878"
];
volumes = [
"/media/Usenet:/downloads"
"/media/Movie:/movies"
"radarr_config:/config"
];
@ -30,6 +31,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,15 +9,16 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"8080:8080"
# "8080:8080"
];
volumes = [
"/media/Usenet:/downloads"
"sabnzbd_config:/config"
];
@ -27,6 +28,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,18 +9,19 @@
autoStart = true;
dependsOn = [
"pihole"
"sabnzbd"
"prowlarr"
# "pihole"
# "sabnzbd"
# "prowlarr"
];
ports = [
"8989:8989"
# "8989:8989"
];
volumes = [
"/media/Usenet:/downloads"
"/media/Show:/tv"
"sonarr_config:/config"
];
@ -30,6 +31,8 @@
TZ = "Europe/Berlin";
};
extraOptions = [];
extraOptions = [
"--net=behind-nginx"
];
};
}

View File

@ -9,16 +9,17 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"9999:9999"
# "9999:9999"
];
volumes = [
"/media/Picture:/data/picture"
"/media/Video:/data/video"
"stash_config:/root/.stash"
"stash_metadata:/metadata"
"stash_generated:/generated"
@ -32,12 +33,14 @@
STASH_GENERATED = "/generated/";
STASH_METADATA = "/metadata/";
STASH_STASH = "/data/";
# NVIDIA_VISIBLE_DEVICES = "all";
# NVIDIA_DRIVER_CAPABILITIES = "all";
NVIDIA_VISIBLE_DEVICES = "all";
NVIDIA_DRIVER_CAPABILITIES = "all";
};
extraOptions = [
# "--gpus=all"
"--gpus=all"
"--net=behind-nginx"
];
};
}

View File

@ -9,11 +9,11 @@
autoStart = true;
dependsOn = [
"pihole"
# "pihole"
];
ports = [
"3001:3000"
# "3001:3000"
];
volumes = [
@ -22,6 +22,8 @@
environment = {};
extraOptions = [];
extraOptions = [
"--network=behind-nginx"
];
};
}