Ugh, lemmy-ui env file wasn't present on the host

This commit is contained in:
niten 2023-07-18 11:25:17 -07:00
parent 0f60b4d89d
commit 6c97aaaee9
1 changed files with 9 additions and 5 deletions

View File

@ -303,6 +303,14 @@ in {
};
target-file = "/run/lemmy/postgres.env";
};
lemmyUiEnv = {
source-file = makeEnvFile {
LEMMY_UI_LEMMY_INTERNAL_HOST = "lemmy:8536";
LEMMY_UI_LEMMY_EXTERNAL_HOST = cfg.hostname;
LEMMY_UI_HTTPS = false;
};
target-file = "/run/lemmy/lemmy-ui.env";
};
lemmyCfg = {
source-file = makeLemmyCfg {
inherit (cfg) hostname;
@ -362,11 +370,7 @@ in {
};
lemmyUiCfg = {
image = cfg.docker-images.lemmy-ui;
envFile = makeEnvFile {
LEMMY_UI_LEMMY_INTERNAL_HOST = "lemmy:8536";
LEMMY_UI_LEMMY_EXTERNAL_HOST = cfg.hostname;
LEMMY_UI_HTTPS = false;
};
envFile = hostSecrets.lemmyUiEnv.target-file;
};
pictrsCfg = {
image = cfg.docker-images.pictrs;