0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-11 21:06:19 +03:00

Merge pull request #314294 from james-atkins/mealie-update

mealie: 1.2.0 -> 1.7.0
This commit is contained in:
Peder Bergebakken Sundt 2024-05-31 20:41:37 +02:00 committed by GitHub
commit 080af6461e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 142 deletions

View file

@ -28,8 +28,6 @@ in
Configuration of the Mealie service.
See [the mealie documentation](https://nightly.mealie.io/documentation/getting-started/installation/backend-config/) for available options and default values.
In addition to the official documentation, you can set {env}`MEALIE_LOG_FILE`.
'';
example = {
ALLOW_SIGNUP = "false";
@ -61,6 +59,7 @@ in
PRODUCTION = "true";
ALEMBIC_CONFIG_FILE="${pkg}/config/alembic.ini";
API_PORT = toString cfg.port;
BASE_URL = "http://localhost:${cfg.port}";
DATA_DIR = "/var/lib/mealie";
CRF_MODEL_PATH = "/var/lib/mealie/model.crfmodel";
} // (builtins.mapAttrs (_: val: toString val) cfg.settings);