mealie: set the correct port in BASE_URL

Otherwise it would default to port 8080, which breaks generated links
when `cfg.port` is set to another port.
This commit is contained in:
Andrew Morgan
2024-05-24 09:17:47 -05:00
committed by James Atkins
parent fc81ca6408
commit fad7ecc30f
@@ -59,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);