Update version and add security variables

This commit is contained in:
♥ Minnie ♥ 2024-06-20 22:14:15 +08:00
parent 7490c0112d
commit 2adadb30e8
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -6,7 +6,7 @@ in
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
mealie = { mealie = {
autoStart = true; autoStart = true;
image = "ghcr.io/mealie-recipes/mealie:v1.8.0"; image = "ghcr.io/mealie-recipes/mealie:v1.9.0";
ports = [ ports = [
"${port}:9000" "${port}:9000"
]; ];
@ -21,6 +21,8 @@ in
MAX_WORKERS = "1"; MAX_WORKERS = "1";
WEB_CONCURRENCY = "1"; WEB_CONCURRENCY = "1";
BASE_URL = "https://mealie.kanto.dev"; BASE_URL = "https://mealie.kanto.dev";
SECURITY_MAX_LOGIN_ATTEMPTS = "3";
SECRURITY_USER_LOCKOUT_TIME = "72";
}; };
}; };
}; };
@ -32,7 +34,8 @@ in
"websecure" "websecure"
]; ];
middlewares = [ middlewares = [
"internal" "crowdsec"
"geoblock"
]; ];
service = "mealie"; service = "mealie";
}; };