Mealie instance setup

This commit is contained in:
James Eversole 2023-09-09 07:17:48 -05:00
parent 2405b72d1b
commit 254cf0221b
4 changed files with 87 additions and 46 deletions

View File

@ -21,7 +21,7 @@
}; };
}; };
# gitlab-runner = a service definition in this file. # gitlab-runner = a service definition at the bottom of this file.
jellyfin = { jellyfin = {
image = "linuxserver/jellyfin"; image = "linuxserver/jellyfin";
@ -42,6 +42,23 @@
}; };
}; };
mealie = {
image = "hkotel/mealie:omni-nightly";
ports = [ "52230:3000" ];
volumes = [
"/home/sezycei/srv/containerdata/mealie/data:/app/data"
"/home/sezycei/srv/containerdata/mealie/hosts:/etc/hosts"
];
environment = {
ALLOW_SIGNUP = "false";
PGID = "1000";
PUID = "1000";
TZ = "America/Chicago";
BASE_URL = "https://food.eversole.co";
};
extraOptions = [ "--network=slirp4netns:enable_ipv6=false" ];
};
murmur = { murmur = {
image = "goofball222/murmur"; image = "goofball222/murmur";
ports = [ "64738:64738" "64738:64738/udp" ]; ports = [ "64738:64738" "64738:64738/udp" ];

View File

@ -54,6 +54,9 @@
target = "http://127.0.0.1:3001"; target = "http://127.0.0.1:3001";
}; };
"eversole.co" = static { dir = "/var/www/jame.su"; }; "eversole.co" = static { dir = "/var/www/jame.su"; };
"food.eversole.co" = proxied {
target = "http://127.0.0.1:52230";
};
"git.eversole.co" = base { "git.eversole.co" = base {
"/".proxyPass = "http://127.0.0.1:26616"; "/".proxyPass = "http://127.0.0.1:26616";
"/purr".return = "301 https://git.eversole.co/James/purr"; "/purr".return = "301 https://git.eversole.co/James/purr";

View File

@ -52,6 +52,24 @@
cache cache
} }
# Stop unblocking these sites. Seriously.
lobste.rs {
template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1"
}
}
ycombinator.com {
template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1"
}
}
*.ycombinator.com {
template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1"
}
}
''; '';
}; };
} }

View File

@ -17,6 +17,9 @@
packages = with pkgs; [ ]; packages = with pkgs; [ ];
}; };
torrent.isNormalUser = true; torrent = {
isNormalUser = true;
homeMode = "770";
};
}; };
} }