All containers listen on host NIC

This commit is contained in:
James Eversole 2023-07-01 20:43:20 -05:00
parent cfe907101d
commit 6404a200e6
2 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@
parts.url = "github:hercules-ci/flake-parts";
};
outputs = { self, agenix, nix-serve-ng, nixpkgs, parts, ... }@inputs:
outputs = inputs@{ self, agenix, nix-serve-ng, nixpkgs, parts, ... }:
parts.lib.mkFlake { inherit inputs; } {
systems =
[ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];

View File

@ -25,7 +25,7 @@
jellyfin = {
image = "linuxserver/jellyfin";
ports = [ "127.0.0.1:8096:8096" "127.0.0.1:8920:8920" ];
ports = [ "8096:8096" "8920:8920" ];
volumes = [
"/home/sezycei/srv/containerdata/jellyfin/config:/config"
"/home/torrent/data/completed:/data/unsorted"
@ -44,18 +44,18 @@
murmur = {
image = "goofball222/murmur";
ports = [ "127.0.0.1:64738:64738" "127.0.0.1:64738:64738/udp" ];
ports = [ "64738:64738" "64738:64738/udp" ];
volumes = [
"/home/sezycei/srv/containerdata/registry/registry/data:/var/lib/registry"
"/home/sezycei/srv/containerdata/registry/registry/certs:/certs"
"/home/sezycei/srv/containerdata/registry/registry/auth:/auth"
"/home/sezycei/srv/containerdata/murmur/murmur/config:/opt/murmur/config"
"/home/sezycei/srv/containerdata/murmur/murmur/data:/opt/murmur/data"
"/home/sezycei/srv/containerdata/murmur/murmur/log:/opt/murmur/log"
];
environment = { };
};
purr = {
image = "docker.matri.cx/purr";
ports = [ "127.0.0.1:5195:3000" ];
ports = [ "5195:3000" ];
volumes = [
"/home/sezycei/dev/purr/data/Purr.sqlite:/app/data/Purr.sqlite"
"/home/sezycei/dev/purr/config.dhall:/app/config.dhall"
@ -65,7 +65,7 @@
registry = {
image = "registry:2";
ports = [ "127.0.0.1:3001:5000" ];
ports = [ "3001:5000" ];
volumes = [
"/home/sezycei/srv/containerdata/registry/registry/data:/var/lib/registry"
"/home/sezycei/srv/containerdata/registry/registry/certs:/certs"
@ -76,7 +76,7 @@
transmission = {
image = "haugene/transmission-openvpn";
ports = [ "127.0.0.1:9091:9091" ];
ports = [ "9091:9091" ];
volumes = [
"/home/sezycei/srv/scripts/transmission/settings.json:/etc/transmission-daemon/settings.json"
"/etc/localtime:/etc/localtime:ro"